My on-campus interview had tough question about displaying the top 10 tweets (from the whole world) from the previous day on a website.
Intern Software Interview Questions
17,771 intern software interview questions shared by candidates
Write a program to process a computational graph with addition and multiplication in c++
The second question is usually matrix operations.
Standard behavioral and a leetcode easy on palindromes.
You have 9 balls, one of which weighs less than the others, but identical in appearance. If you had one weighing scale, how would you find out which ball weighs less? What would be the time complexity
Facebook loves graph theory and tree questions. Study up on these for sure. I feel like my questions were of average difficulty, not hard by any means. Some of the other interviewees I talked to received recycled questions that I've seen on this site and on careercup.
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.
Write a function that can figure out if two words are anagrams of each other.
Square root of x
Viewing 2101 - 2110 interview questions