Pregunta de entrevista de Zoho

Sort an array of strings

Respuestas de entrevistas

Anónimo

5 jul 2024

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

Anónimo

30 jun 2024

Use the dictionary approach

3

Anónimo

5 jul 2024

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