Engineer Software Interview Questions

512,223 engineer software interview questions shared by candidates

He asked the best way to store boolean values on memory. I said an array but he wanted more, so in the end I said BinaryVector class. He asked why a binary vector is a better option but I couldn't answer that. I told him that I don't know the internal implementation.
avatar

Software Development Engineer

Interviewed at Amazon

3.5
Feb 8, 2013

He asked the best way to store boolean values on memory. I said an array but he wanted more, so in the end I said BinaryVector class. He asked why a binary vector is a better option but I couldn't answer that. I told him that I don't know the internal implementation.

There are 100 people standing near the beginning of a row of 100 closed doors. The first person goes down the row and opens every door. The second person closes every 2nd door. The third person changes the state of every 3rd door, and so on. Write a routine to find the state of door X after person Y passes by.
avatar

Software Engineer

Interviewed at Capital One

3.4
Nov 12, 2015

There are 100 people standing near the beginning of a row of 100 closed doors. The first person goes down the row and opens every door. The second person closes every 2nd door. The third person changes the state of every 3rd door, and so on. Write a routine to find the state of door X after person Y passes by.

Viewing 1721 - 1730 interview questions

See Interview Questions for Similar Jobs

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