Given a TV remote, write a script that would give directions to input some letters. Starting from the upper left-hand corner. If the buttons were in 3 columns, and you wanted to type "feed", you would want the output of the program to say "right, right, down, PRESS, left, PRESS, PRESS, left, PRESS"
Intern Software Engineer Interview Questions
12,189 intern software engineer interview questions shared by candidates
Given a list of 4 billion integers, find an integer not in the list using 4MB of memory.
Generate a new array from an array of numbers. Start from the beginning. Put the number of some number first, and then that number. For example, from array 1, 1, 2, 3, 3, 1 You should get 2, 1, 1, 2, 2, 3, 1, 1 Write a program to solve this problem.
How would you implement a stack with the additional operation of getMin?
Given a function for a fair coin, write a function for a biased coin that returns heads 1/n times (n is a param).
(following the previous one) You got only TWO baby bottle sample. You would like to know the max height you can drop it without breaking the bottle. Let set the unit as 1 foot. And the highest height you can reach is at N feet. So how would you find the (max) safe height? (This is the one I think is kind of brain-teaser one.)
If you go 4 miles north and 3 miles south, what is the overall displacement?
Second interview question: giving a phone number return all the number key combinations for that phone number
O(n) time O(1) space to print link list reversely.
Write a function that finds the minimum and maximum values within an unsorted array using divide-and-conquer.
Viewing 31 - 40 interview questions