String foo = "abc"; String foo1 = "abc" what does (foo == foo1) evaluate to?
Engineer Software Interview Questions
429,595 engineer software interview questions shared by candidates
hackerrank problems
The question was asked in the personal interview. You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. Write a program which computes in how many distinct ways can you climb to the top.
None of the questions were unexpected, at least for any candidate applying for this job. I definitely felt I could have answered few questions better.
Given a list of "threads", which contain 2 variables - starting and ending times - implement a function that will return all running threads at some time t. Optimize it. (faster than O(n) )
How do you find 2 missing elements in an array of consecutive integers that are not sorted who's size is N-2.
Search on an unsorted list with a time complexity of O(logn)
Iterating through a k-dimensional array given size of each dimension in an array.
The programming test was quite difficult Math problem, it had to be solved precisely and every case must be handled carefully to ensure correct program outcome.
Implemented the basic data structure. And followed up with several small questions.
Viewing 531 - 540 interview questions