reverse a linked-list
Software Development Interview Questions
36,996 software development interview questions shared by candidates
Write a program to find out in a sorted array the sum of any two numbers present in the array is closest to the a number given. if you have an array 4, 6, 8,24,36 and the given number is 31 then output should be 24 + 6 = 30
You have a building with 100 stories. You also have two glass balls. You can drop the glass balls as many times as you want before they break. How can you find the floor at which they start breaking with the fewest number of drops?
A rotated sorted array (e.g. 34512), find the rotation count (in this case, 3 means rotated by 3).
Create a Priority Queue with all methods.
You have an array of length n consisting of the integers from 0 through n-1 exactly once each, except for one which is missing. Find the missing number. The numbers can be in any order.
given an unsigned char array, find if there is a subarray whose elements sum up to a given value
Most of the technical questions, I felt very prepared for. The most difficult questions were behavioral. In particular, "Tell me about an experience where a project partner enjoyed working with you." Rather than talking about your skills you have to talk about how you worked well with others in a way that they enjoyed working with you, and do so without coming off as being arrogant. Also, they didn't ask the question directly, but came to it in a way that put you on the back foot. The question immediately before was to tell them about a time that you had difficulty working with a partner, and also about a time that a partner had difficulty working with you.
Remove all characters of a string from another string. The algorithm should be less than O(m*n) where m & n are lengths of strings and the space used should be less than O(m+n).
How to test a clock
Viewing 481 - 490 interview questions