© 2023 Hashnode
#trees
We've all been in one interview or another where they asked us to "find x" and somehow, that didn't work out so well, either because you weren't expecting it or you don't even understand where to sta…
What is a Tree? A tree is a nonlinear data structure. It is a collection of nodes where each node contains addresses of other nodes. A tree data structure has a root node, internal nodes and leaf nodes. The number of children of a node dete…
From my experience, getting used to traversing non-linear data structures takes a bit of time. So when you try to get hold of trees, you need something easy to practice and finding maximum depth of bi…
Make javascript in your Google customize setting .