Pregunta de entrevista de Zoho

Sort an array of strings

Respuestas de entrevistas

Anónimo

5 de jul de 2024

array = ["apple", "banana", "cherry", "date"] sorted_array = sorted(array) print(sorted_array)

Anónimo

30 de jun de 2024

Use the dictionary approach

3

Anónimo

5 de jul de 2024

array = ["apple", "banana", "cherry", "date"] sorted_array = sorted(array) print(sorted_array)