Engineer Software Interview Questions

419,816 engineer software interview questions shared by candidates

Write a Stack class: push(),pop() methods without using built-in pop() method. Following questions was to write a MinStack class which contains a method that finds the minimal value of a stack using only push() and pop().
avatar

Software Engineer

Interviewed at Bloomberg

4
Mar 10, 2017

Write a Stack class: push(),pop() methods without using built-in pop() method. Following questions was to write a MinStack class which contains a method that finds the minimal value of a stack using only push() and pop().

Puzzles There are 100 doors in a row, all doors are initially closed. A person walks through all doors multiple times and toggle (if open then close, if close then open) them in following way: In first walk, the person toggles every door In second walk, the person toggles every second door, i.e., 2nd, 4th, 6th, 8th, … In third walk, the person toggles every third door, i.e. 3rd, 6th, 9th, … ……… ………. In 100th walk, the person toggles 100th door. Which doors are open in the end?
avatar

Software Engineer

Interviewed at TIAA

3.6
Aug 30, 2017

Puzzles There are 100 doors in a row, all doors are initially closed. A person walks through all doors multiple times and toggle (if open then close, if close then open) them in following way: In first walk, the person toggles every door In second walk, the person toggles every second door, i.e., 2nd, 4th, 6th, 8th, … In third walk, the person toggles every third door, i.e. 3rd, 6th, 9th, … ……… ………. In 100th walk, the person toggles 100th door. Which doors are open in the end?

Viewing 3031 - 3040 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 419,816 interview questions and reports from Engineer software interviews. Prepare for your interview. Get hired. Love your job.