Find the max depth of a binary tree
Intern Software Engineer Interview Questions
9,346 intern software engineer interview questions shared by candidates
Print the nodes in an n-ary tree level by level, one printed line per level.
Gevin an array of integer and integer. Find if there is a pair of integer in the array that sum to the gevin integer.
what are the storage classes in C?
How have you handled conflict without knowing all available information?
What are the main differences between Java and Scala?
Write a program to process a computational graph with addition and multiplication in c++
The second question is usually matrix operations.
No very difficult questions. Just take it easy and enjoy the process. Almost all of the question are from the <Cracking the Coding Interview>. A quick response and emphasize on the issue of efficiency are important. I think Facebook love to ask questions about the tree structure and some practical questions because they are realistic problems. When you prepare and practice, do remember that efficiency is a really significant issue, much more important than simply giving an answer. And I would like recommend another book <Programming pearls>. Maybe the book is not a hard one to read, but the thought of the author, why the author wants to improve some algorithm and how he solves problems are really fantastic. The questions are from realistic problems and the book is really worth reading several times. It benefits me a lot.
Give an example of a divide and conquer algorithm.
Viewing 1121 - 1130 interview questions