Software Engineer Senior Interview Questions

67,213 software engineer senior interview questions shared by candidates

Hackerrank coding question: You are given 2 arrays: one representing the time people arrive at a door and other representing the direction they want to go(in or out) You have to find at what time each person will use the door provided no 2 people can use the door at the same time. Constraints: the door starts with ‘in’ position, in case of a conflict(2 or more people trying to use the door at the same time), the direction previously used holds precedence. If there is no conflict whoever comes first uses the door. Also if no one uses the door, it reverts back to the starting ‘in’ position. Should be linear time complexity. If you solve this, please comment with how much time you think you would need to solve this in an interview and your yoe.. just wondering
avatar

Senior Software Engineer

Interviewed at Fivetran

3.6
Mar 27, 2020

Hackerrank coding question: You are given 2 arrays: one representing the time people arrive at a door and other representing the direction they want to go(in or out) You have to find at what time each person will use the door provided no 2 people can use the door at the same time. Constraints: the door starts with ‘in’ position, in case of a conflict(2 or more people trying to use the door at the same time), the direction previously used holds precedence. If there is no conflict whoever comes first uses the door. Also if no one uses the door, it reverts back to the starting ‘in’ position. Should be linear time complexity. If you solve this, please comment with how much time you think you would need to solve this in an interview and your yoe.. just wondering

Viewing 551 - 560 interview questions

Glassdoor has 67,213 interview questions and reports from Software engineer senior interviews. Prepare for your interview. Get hired. Love your job.