Given a 2D array you are allowed to traverse Right or Down. print all possible paths from 0,0 to m,n by traversing either right or down.
Developer Interview Questions
269,139 developer interview questions shared by candidates
How to multiply a number by 7 without using + and * operators?
Can you explain the 5 basic principals for object oriented programming?
Did you ever take any decision against the team and did you succeed?
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.
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"
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 ] .
Write a method to determine whether two dates are less than a month apart.
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.
Are you willing to deal with our rudeness?
Viewing 911 - 920 interview questions