way-918900_640

Duplicate Elements of An Array

One common misunderstanding is that coding interview is all about solving algorithm questions. In fact, the answer itself is only part of the evaluation and sometimes it is not the most important part at all.

There are many other factors being evaluated during an interview. For instance, your analysis process is at least equally important. More specifically, interviewers care a lot about how you approach a problem step by step, how you optimize your solution, how you compare different approaches and so on so forth.
(more…)

Share on FacebookTweet about this on TwitterShare on LinkedInShare on Reddit

Read More

SWDR6XR7YS (1)

Group Anagrams

This is another post in the coding interview questions collection. In this series, we’ll cover recent hot questions from top companies like Google, Facebook, Uber, Linkedin etc.. More importantly, the goal of these posts is not giving you something like a standard answer.

Instead, we focus on telling you how to analyze each question and how to re-use the same techniques in similar problems. At the end of each post, we’ll summarize some common strategies used in the question.

In this post, we are going to cover topics including hash map, string manipulation and sorting as well.

(more…)

Share on FacebookTweet about this on TwitterShare on LinkedInShare on Reddit

Read More

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