Engineer Interview Questions

1,135,842 engineer interview questions shared by candidates

They gave me a problem in which I had to find the next largest number of a given integer, where the next largest number can consist only of a combination of 3s and 5s. ex: number: 23 output: 33, number: 129 output: 333, number: 432 output: 533
avatar

QA Engineer

Interviewed at Hike

3.7
Apr 20, 2015

They gave me a problem in which I had to find the next largest number of a given integer, where the next largest number can consist only of a combination of 3s and 5s. ex: number: 23 output: 33, number: 129 output: 333, number: 432 output: 533

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.

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.

Viewing 1271 - 1280 interview questions

Glassdoor has 1,135,842 interview questions and reports from Engineer interviews. Prepare for your interview. Get hired. Love your job.