Given a mutable string (array of characters) of words, how would you reverse the order of the words in the string, not the entire string. This must be done in place, i.e. not using any additional memory. eg) "Hello World" => "olleH dlroW"
Developer Interview Questions
269,109 developer interview questions shared by candidates
2 stacks are given, one is full of numbers and other in empty, one integer variable is given, fill the 2nd stack with numbers in ascending order with space and time constraints.
3) Given a N*N array where N is even such as 4, 8 and so on . Print the array from the center. a= [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16] the output should be [6 10 12 7 3 2 1 5 9 13 14 15 16 12 8 4 ] .
second round puzzle(google one) :Four people need to cross a rickety bridge at night. Unfortunately, they have only one torch and the bridge is too dangerous to cross without one. The bridge is only strong enough to support two people at a time. Not all people take the same time to cross the bridge. Times for each person: 1 min, 2 mins, 7 mins and 10 mins. What is the shortest time needed for all four of them to cross the bridge? instead of 7 mins,interviewer said it to be 5 mins :( and expected right answer from me.
How to search for a specific data element in a table with a query.
Are u ready for 2 years bond?
What are your strong skills? Which approaches of development design you have used?
how to sort 2 different arrays,and save the result in the second array, if the first contains n elements, and the second contains m elements, and the second is alocated a length of m+n.
Write a tic-tac-toe game in JavaScript with UI elements.
about java about python about c about c++
Viewing 921 - 930 interview questions