First question was to find all numbers that occurred an odd-number of times in an array and second question was implement a stack that could return the largest number in the stack at anytime.
Engineers Interview Questions
841,870 engineers interview questions shared by candidates
Given a string of Rs and Gs, design an algorithm to produce a string with Rs in the front and Gs after that. The number of flips from Rs to Gs or otherwise should be minimum. The number of Rs and Gs in the end need not be same as that in the beginning, however the length of the entire string should be the same.
Last project and how you handle the difficult situation in the project
Write a function that takes in an array and repeats an integer that appears the most.
read in a string and output it backwards
How are you?
Questions that popped out as I can remember. 1) A cube (1-1-1m) of ice in a room (50C) sitting on a wooden table. the ice is 1m away from the walls around it's 4 sides, except for 1 side is 30cm away. You're given 2 insulating blankets (1m by 1m) that can be used to cover the ice block. The goal is to keep the ice in solid form as long as possible. Where would you put the blankets? 2) 2 rectangular beams, one is Aluminum a by 2b cross-section one is Steel a by b cross-section. If you were to climb a mountain and find these two sticking out on a spot where you need to rest, which one would you latch on to? 3) Interviewee shows a plastic part and asks: How do you think I built this part? What other ways can you think of this part could have been done?
Give an example of when you had a angry customer in front of you, and how did handle it?
Give an algorithm to find the kth largest element in an unsorted vector of integers.
Was asked a very interesting tree problem.Given a tree and a number N, construct another tree such that each node of the tree has either 0 or N elements,except for one node which has between 0 to N elements.Only other constraint is that ancestry is preserved in the new tree.
Viewing 1111 - 1120 interview questions