Remove a node from Linked list when address of same node is given
Development Interview Questions
137,436 development interview questions shared by candidates
you have 9 marbles, all of them identical except one of them is slightly heavier than the rest. in order to determine which is the heaviest, you have a balancing scale, however you are only allowed to use it twice. how do you determine the heaviest marble?
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.
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]?
Basic 2 sum problem. Finding pair of numbers that add to current sum.
How many gas stations are there in the United States?
Given a 2D array of boolean values determine the largest square sub-array containing only 1s.
Describe the most challenging problem you've had and how you solved it?
Reverse the letters of words in a sentence. Then, reverse the sentence.
It is easy, look online for questions and how to solve them
Viewing 1301 - 1310 interview questions