reverse bits of an integer that is a power of 2 , keeping complexity in mind.
Engineers Interview Questions
842,557 engineers interview questions shared by candidates
Find the second maximum element in an unsorted array of integers, using single for loop.
Reverse the words in a sentence. For example, "Have a nice day" becomes "day nice a Have"
How many unique paths are there from B-L point to the T-R point of a chess table? What would be your approach to calculate this?
You have two linked lists that merge at some node. The lists could be billions of nodes long. Find the node where the lists merge in the most optimal time while using a low amount of memory.
string compression: aaabbbbcc ->a3b4c2
A box is divided into 4 boxes which is further subdivided into 4 boxes and so on. What is the best Data structure suitable for this scenario?
Given an integer array, write a program that returns an array with elements = product of the integers in input array except the one in its position. Ex: Given input: [2, 3, 10, 4, 5], output: [600, 400, 120, 300, 240] What is the complexity of your program? When will your program not work? Below is what I presented (O(n)), but it did not qualify me for the next round.
Why did you leave your previous company?
Tell me about yourself
Viewing 811 - 820 interview questions