Challenge: Total Number of Words in a Trie
Try to solve Sort Values in a Stack problem.
We'll cover the following...
Statement
Given a trie data structure that represents an array of words, words
, determine the total number of words stored in it.
Constraints:
words.length
words[i].length
All
words[i]
consist of lowercase English alphabets
Examples
Access this course and 1400+ top-rated courses and projects.