...

/

Challenge: Array Sort Using Trie

Challenge: Array Sort Using Trie

Try to solve the Array Sort Using Trie problem.

We'll cover the following...

Statement

Given an array of strings as input, implement the  sortArray() function, which sorts the elements of the array in lexicographical order.

Constraints:

  • 00\leq words.length 103\leq 10^3

  • 1 1\leq words[i].length 102\leq10^2

  • All words[i] consist of lowercase English letters

Examples

Access this course and 1400+ top-rated courses and projects.