Another string question in our coding interview questions collection. It seems that string is getting really popular and many companies like Google, Facebook are asking about it in recent interviews.
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…)
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.
If it’s your first time to see this series of posts, I’d like to emphasize again that the whole point of the article is not providing something like standard answers, but tell you how to analyze a coding interview question step by step. At the end of each post, I’ll summarize some common techniques that can be reused in other questions. (more…)
From last week’s survey, most Gainlo users said that they want to read posts about how to come up with solutions to coding questions. So we decided to start talking about this topic from this week.
I think it’ll be much more helpful by analyzing popular coding interview questions as examples. I’d also like to highlight few points that make this article worth reading: (more…)