What data structure would you use to find the 100 closest stars?
Software Intern Interview Questions
17,694 software intern interview questions shared by candidates
(following the previous one) You got only ONE 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?
Compare and Book and a Three Ring Binder using data structures and classes.
There were no unreasonably tough questions.
Reverse all the characters in a string before you encounter an 'x'. abcdxdd - > dcbaxdd
2 robots land on a planet that only has x coordinate (a line). The robots can only go either left or right. The planet has nothing on it except the parachute that each robot has used. You're asked to program the robot to meet each other in the shortest amount of time. You're only allowed to use if statement and "Go left" and "Go right". The if statement can only contain: if the robot meet each other, or if the robot see its own parachute.
Given the sum, find all pairs of 2 numbers that have the sum.
Given an array of 99 unique numbers from 1-100, how do you determine the missing element?
probability question: two dice, the probability to get more than two 4's
Given a word (does not have to be an actual word, just a string of capital letters), return the alphabetical rank of that word out of all possible combinations of the given set of letters.
Viewing 411 - 420 interview questions