Challenge 2: Find All Words Stored in Trie
If you are given a trie, can you return every word it contains?
Problem statement
You have to implement the findWords()
function, which will return all the words stored in trie.
Input
This is the root node of a trie.
Output
...Access this course and 1400+ top-rated courses and projects.