Software Engineer New Grad Interview Questions

2,866 software engineer new grad interview questions shared by candidates

Create the class SnapshottableArray, which is a normal array except it has the ability to take a snapshot in time of the current values of the array, giving a handle/id. It has the class signature below. Focus on reducing space at the cost of time complexity. Fill in the function bodies to complete the class. (I wrote the class with types to make it clear what everything does, but the code should be in JS.) class SnapshottableArray{ SnapshottableArray(int size); // create new snapshottable array with size void set(int index, int value); // set's array at index to value int get(int index); // return the array at index's value int takeSnapshot(); // take a snapshot and return the handle/id of it int getSnapshotValue(int id, int index); // return the array at index's value for the given snapshot, represented by id }
avatar

Software Engineer New Grad

Interviewed at Google

4.4
Jan 31, 2019

Create the class SnapshottableArray, which is a normal array except it has the ability to take a snapshot in time of the current values of the array, giving a handle/id. It has the class signature below. Focus on reducing space at the cost of time complexity. Fill in the function bodies to complete the class. (I wrote the class with types to make it clear what everything does, but the code should be in JS.) class SnapshottableArray{ SnapshottableArray(int size); // create new snapshottable array with size void set(int index, int value); // set's array at index to value int get(int index); // return the array at index's value int takeSnapshot(); // take a snapshot and return the handle/id of it int getSnapshotValue(int id, int index); // return the array at index's value for the given snapshot, represented by id }

system design: Build a system that takes data from a Stock Exchange and displays it on Bloomberg Terminal. Code Questions will not be from Leet Code, they will be complex in nature and will require you to think about the DS.
avatar

New Grad Software Engineer

Interviewed at Bloomberg

4
Jan 9, 2021

system design: Build a system that takes data from a Stock Exchange and displays it on Bloomberg Terminal. Code Questions will not be from Leet Code, they will be complex in nature and will require you to think about the DS.

Viewing 131 - 140 interview questions

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