Software Engineer Entry Level Interview Questions

2,471 software engineer entry level interview questions shared by candidates

You are given operations , an array containing the following twotypes of operations. [o,a,b]-Create and save a rectangle of size a x b[1,a,bl-Answer the question: "Could a box of size a xb fit inside of each of the earlier saved rectangles?". lt ispossible to rotate the rectangles by 9o degrees, ie: a rectangleof dimensions a x b can be rotated so that its dimensions arebxa Your task is to retum an array of booleans, representing the answersto the second type of operation, in the order they appear. Note that the operations should proceed iteratively, so whenoperations[i] is executed, only the results of the previousoperations o,1,. i- 1 are available.
avatar

Entry Level Software Engineer

Interviewed at Uber

3.7
Oct 22, 2024

You are given operations , an array containing the following twotypes of operations. [o,a,b]-Create and save a rectangle of size a x b[1,a,bl-Answer the question: "Could a box of size a xb fit inside of each of the earlier saved rectangles?". lt ispossible to rotate the rectangles by 9o degrees, ie: a rectangleof dimensions a x b can be rotated so that its dimensions arebxa Your task is to retum an array of booleans, representing the answersto the second type of operation, in the order they appear. Note that the operations should proceed iteratively, so whenoperations[i] is executed, only the results of the previousoperations o,1,. i- 1 are available.

Viewing 1121 - 1130 interview questions

Glassdoor has 2,471 interview questions and reports from Software engineer entry level interviews. Prepare for your interview. Get hired. Love your job.