Challenge 3: Sort the Elements of an Array using a Trie.
Try to solve the Array Sort Using Trie problem.
Statement
Given an array of strings as input, implement the sortArray()
function, which sorts the elements of the array in lexicographical order.
Constraints:
...