Question d’entretien chez Zoho

Sort an array of strings

Réponses aux questions d'entretien

Utilisateur anonyme

5 juil. 2024

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

Utilisateur anonyme

30 juin 2024

Use the dictionary approach

3

Utilisateur anonyme

5 juil. 2024

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