Given list of revision numbers and build statuses (OK or FAILED). Example : { (10001,OK ) , (10002, OK) , (10003, FAILED) , (10004,FAILED) } Find number of revision where build has failed in first time.
Interns Interview Questions
248,183 interns interview questions shared by candidates
Given a really big file with a lots of Facebook posts, find the ten most used words.
LCA problem with no parent pointers. Given the root of a tree and pointers to two nodes contained in that tree, return the lowest common ancestor of the two nodes. IE, the common ancestor furthest from the root.
Given a list of meeting times, which may overlap, return the minimum number of rooms required to accommodate all the meetings.
The questions were average interview questions. I can't think of a specific one that was difficult or unexpected.
4. What is the format of the floating point number? What does the following code do? Does it terminate? Float f,g; f=0; do{ g=f++; } While ((f-g)!=0);
Given an array of 1000 element, how will you find the element repeated twice in O(n) complexity
Q) How would you all values from the nodes of a given binary tree into a string and then deserialize the string and put it back in the binary tree?
Find depth of a binary tree
Reverse a linked list
Viewing 421 - 430 interview questions