Given a (potentially large) array of integers, all but one repeating an even number of times, how would you find the one repeating an odd number of times in an efficient way? eg [1 2 3 3 2 2 1 4 2] should return 4
Is Engineer Interview Questions
899,060 is engineer interview questions shared by candidates
Find k largest/smallest number in a series of numbers. What data-structures will you use? Code it on white board.
Write a method which return how many palindromes are in a word. Eg: barbarabar has 7 (b,a,r,barab,a,r)
If you and a large brick are in a boat floating in a pool, will the water level rise or fall when the brick is tossed into the water? What if the brick is a large piece of Styrofoam and thrown into the water?
* You are given 2 eggs. * You have access to a 100-storey building. * Eggs can be very hard or very fragile means it may break if dropped from the first floor or may not even break if dropped from 100 th floor.Both eggs are identical. * You need to figure out the highest floor of a 100-storey building an egg can be dropped without breaking. * Now the question is how many drops you need to make. You are allowed to break 2 eggs in the process
Write a function that determines which function is a mirror number. i.e. 12321 would return YES
You have 5kg of Aluminum and 5kg of Steel. You can make whatever cross section beam you want with these materials. If you have to make a cantilever beam 1m long with a load at the end. And you want to minimize the deflection. What material would you use?
algorithm question, competition programming
The infamous "clock hands" question--how many times do the hour and minute hands of a clock overlap in a 24 hour period?
* Merge two sorted linked list. The merged list should also be sorted. * Compact a string. i.e remove spaces * traverse a link list containing char* as data. test cases for the same. * reverse a string. test cases for the same. * remove all the given characters from a string.
Viewing 631 - 640 interview questions