xmas

Uber Interview Questions – Deepest Node In a Tree

Tree problem is also one of the most commonly asked coding interview questions. Some people might be afraid of tree at first. However, most tree problems in coding interviews are quite straightforward given that there are not too many operations.

As a result, if you are familiar with basic concepts like BST and how to traverse a tree, you are already half done. What you need next is just more practice. (more…)

Share on FacebookTweet about this on TwitterShare on LinkedInShare on Reddit

Read More

letters-691842_640

Print All Paths Of a Binary Tree

In our previous posts, we’ve covered quite a few coding interview questions about string. This time, I’d like to analyze a binary tree problem.

In my opinion, most interview questions about data structures like binary tree, linked list are relatively easier because these data structures have limited ways of operation so that it can’t be too flexible. In other words, with enough practice, you should be able to be familiar with these topics. We’ll explain more soon.
(more…)

Share on FacebookTweet about this on TwitterShare on LinkedInShare on Reddit

Read More