Algorithm question was how to find the lowest common ancestor for a binary tree. Then find a solution that is linear for space complexity.
Developer Interview Questions
269,139 developer interview questions shared by candidates
Its a take home test, a really bad one with a bad architecture MVVM using combine and SwiftUI and you cannot change it, you have to complete some methods and thats it. If you change any struct or anything, you're refused. Its a waste of time.
They asked me to modify my oops design many times,
Write a method to determine whether two dates are less than a month apart.
Are you willing to deal with our rudeness?
Can you explain the 5 basic principals for object oriented programming?
Did you ever take any decision against the team and did you succeed?
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"
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 ] .
Viewing 911 - 920 interview questions