You have a 100 story building and two glasses. By dropping glasses from a given floor, figure out what is the highest floor from which you can drop and glass and it will not break.
Developer Interview Questions
269,158 developer interview questions shared by candidates
The question was not difficult, what is difficult is to make it better than your competitors. I had to write an algorithm, that given two arrays A and B, both ordered, the had to be merged into A, in order. It was not allowed to used auxiliary arrays.
It was some binary search tree related algorithm problem .
For my Pirate (systems design & architecture), the interviewer drew up a vague picture of a cat picture inside a cell with a FB profile picture & name at the top of the cell and a "likes" and "comments" counts & buttons at the bottom of the cell. I was asked to design what the interface for a ranked feed for an Instagram-like clone called "Cat-a-gram" would look like.
by phone: what is a difference between Object and Array, call and apply, what is DOM structure, what is time complexity of traversing through the DOM, other very basic questions. online interview: first question is about data structure, given two arrays, one of them is a map to another, you need to traverse and exclude from array objects according to the map, in general they expect from you to build an map object from key+value but you have to use ES6 MAP where key can be stored as object and not as string or ASCII coded string. The second question was about setTimeout browser api, you will be asked to clean all timeouts, the answer is to override setTimeout and store all of them in stuck and clean them if needed.
Look at LC Facebook tagged questions
Most difficult question involved graphs and path finding.
Develop a web form for storing user details in the backend?
There are three labeled bags filled with color balls. The labels are all INCORRECT and need to find the correct label with just one pick from one bag.
how would you implement data exchange communication between two projects
Viewing 1261 - 1270 interview questions