Write a function to return the longest common prefix between two strings.
Engineer Intern Interview Questions
15,322 engineer intern interview questions shared by candidates
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.
Given a really big file with a lots of Facebook posts, find the ten most used words.
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
Given a 5x5 board containing random characters, find all words that can be formed from consecutive adjacent (diagonals count) characters.
in an array of characters find the character that is repeated the most
Viewing 111 - 120 interview questions