You have two sorted arrays - how can you effectively merge them into one giant sorted array?
Intern Interview Questions
248,934 intern interview questions shared by candidates
Reverse a linked list.
How would you traverse through a binary search tree and print out each element in order?
Print the BST in level order
Star
The interviewer asking me if I could help him get a job in Microsoft.
Implement a selection sort, and then he asked me: Given a single-elimination tournament with 99 players, how many games must be played until there is one winner left.
There are ten buckets of lead weights, with nine of them having equal weights of 10 grams each, while one of them has weights of 11 grams each. You want to find out which bucket has weights of 11 grams each, by using a scale, but you can only turn on the scale once.
Two clocks are exactly 6 hours apart. At which fraction of times during a day are both at an acute angle?
What is the difference between a hard link and a symbolic link?
Viewing 481 - 490 interview questions