Write a function to return the longest common prefix between two strings.
Developer Intern Interview Questions
12,166 developer 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
Given a limited amount of RAM, how would you sort an entire disks worth of data?
what is the angle between the hours and minutes hand in an analog clock when the time is 3:15?
Given a 8-bit string, determine how to find the most reoccuring character.
given an unordered list of numbers find all pairs that add up to x
Interview Question – two algorithm questions each phone interview. Two of them were a bit challenging . One of them was : given a value k and an array , design an efficient algorithm that should output the number of pairs that sum up to k. They wanted a n log n solution, wich i provided, but I wasn't handy with the implementation. We spent several minutes with questions like why would you want to work for us? or how did you heard and what you know about us ?
Viewing 81 - 90 interview questions