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.
avatar

Software Development Engineer Intern

Interviewed at Amazon

3.5
May 26, 2012

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.

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?
avatar

Product Design Engineer

Interviewed at Apple

4.1
Sep 12, 2013

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?

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.
avatar

Software Engineer

Interviewed at Groupon

2.9
May 26, 2015

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

Glassdoor has 841,870 interview questions and reports from Engineers interviews. Prepare for your interview. Get hired. Love your job.