Given a mathematical expression, what data structure would you use to evaluate the expression? How would you design the above question to use Trees/Graphs.
Software Engineer Intern Interview Questions
12,189 software engineer intern interview questions shared by candidates
You have two operations: add by one and multiply by 2. Find the minimum number of operations to get from 0 to any particular integer.
Use C to count the number of set bits in an int.
What data structure would you use to find the 100 closest stars?
(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.
Given the sum, find all pairs of 2 numbers that have the sum.
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.
Viewing 341 - 350 interview questions