Tries
105 / 170TriesLesson 2 of 4About 44 min
A wildcard turns the walk into a recursion, because one position can go several ways.
In the wildcard search, where must the end-of-word flag be checked?
Read the constraints first and let them tell you what complexity is expected. Derive the approach, implement it, run the tests, and submit when it passes.