We've already covered the basics of tree data structure in three posts. If you haven't gone through those yet, I would strongly going through the introductory post at the very least. Introduction Trie is a variation of tree data structure. It's also ...

Markdown supported · ⌘↵ to post
By the way, if you don't mind me asking what tool did you use to create the sketch diagram? It looks really cool.
Thank you for this article Anish! This was one of the LC questions that I could not wrap my head around but your article has helped me understand the solution so much better.
Philip London
CEO at codeamigo
Thanks Anish for the great article!
If people are interested in learning this content interactively, we've taken the liberty of adapting this to a codeamigo lesson, which you can check out for free here