Software Engineer Entry Interview Questions

2,583 software engineer entry 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 1171 - 1180 interview questions

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