Senior Backend Engineer Interview Questions

2,034 senior backend engineer interview questions shared by candidates

For coding question you have 30 minutes to solve it. I did most optimal way in a short while and additional added test function which tests real function. The lottery will draw 8 balls labeled 1 to 20. The balls will be picked out of bag and if the number rules below are valid we accept that number as part of the lottery numbers and return the ball back in the bag. We will do this until we get 8 numbers. Rules are: - The same number can appear more than once - No more than 2 occasions of duplicates are allowed Your function will return the results sorted in ascending order. Example valid draws: [1,2,3,4,5,6,7,8] [1,1,2,2,2,6,7,8] Example not allowed: [1,1,2,2,3,3,7,8] not allowed bcs the re are 3 duplicates here 1,2,3
avatar

Senior Backend Engineer

Interviewed at Plentific

3.5
Sep 29, 2021

For coding question you have 30 minutes to solve it. I did most optimal way in a short while and additional added test function which tests real function. The lottery will draw 8 balls labeled 1 to 20. The balls will be picked out of bag and if the number rules below are valid we accept that number as part of the lottery numbers and return the ball back in the bag. We will do this until we get 8 numbers. Rules are: - The same number can appear more than once - No more than 2 occasions of duplicates are allowed Your function will return the results sorted in ascending order. Example valid draws: [1,2,3,4,5,6,7,8] [1,1,2,2,2,6,7,8] Example not allowed: [1,1,2,2,3,3,7,8] not allowed bcs the re are 3 duplicates here 1,2,3

Viewing 791 - 800 interview questions

Glassdoor has 2,034 interview questions and reports from Senior backend engineer interviews. Prepare for your interview. Get hired. Love your job.