Given a building with 100 floors and windowpanes which can break if launched from the nth floor. Find out on which floor the windowpanes will break using only two on them.
Software Development Engineer Interview Questions
32,842 software development engineer interview questions shared by candidates
find pair of numbers out of sorted array whose sum equal to given number
Given a string s of length n and an index i (0 <= i <= n). Using only constant extra space, how do you manipulate the string in-place to yield the string s[i, i+1, ... , n-1, 0, 1, ..., i-1]?
Are you married? Do you have any kids? Where do you live?
Write a function (in your preferred language C, C++, or Java) that will take the given string and return the reverse. (ie. input:"abc def ghi" output:"ihg fed cba") Optimize the above code (if possible). Now knowing that the original function you wrote in pt1 is being used by other programs and cannot be modified write another function that when called will utilize the function from pt1 to only reverse the words in the sentence. (ie. input:"abc def ghi" output:"ghi def abc") Test your code.
design an elevator(uml+implementation+threads& syncroniczation and locking)
There was nothing difficult or unexpected about the interview.
Coin algorithm - I forgot the exact number, but we had 1, 5, 10, 25 cents and based on the number of cents, calculate the least number of coins to achieve the given values.
write a function to find the n-th fibonacci number
Find the largest sub string having distinct characters?
Viewing 761 - 770 interview questions