Domanda di colloquio di Zoho

Sort an array of strings

Risposte di colloquio

Anonimo

5 lug 2024

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

Anonimo

30 giu 2024

Use the dictionary approach

3

Anonimo

5 lug 2024

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