Frage im Vorstellungsgespräch bei Zoho

Sort an array of strings

Antworten zu Vorstellungsgespräch

Anonym

5. Juli 2024

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

Anonym

30. Juni 2024

Use the dictionary approach

3

Anonym

5. Juli 2024

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