Senior Full Stack Engineer Interview Questions

1,780 senior full stack engineer interview questions shared by candidates

Implement (actually explain, because it's over the phone), a "max()" function inside of a Stack data structure of numbers. Meaning that every time you'll do a push() or poll() actions, you can run max() and say what is the current max number in the stack. This has to be an O(1) of time complexity and he don't care about space complexity.
avatar

Senior Full Stack Engineer

Interviewed at Connecteam

4.2
May 7, 2023

Implement (actually explain, because it's over the phone), a "max()" function inside of a Stack data structure of numbers. Meaning that every time you'll do a push() or poll() actions, you can run max() and say what is the current max number in the stack. This has to be an O(1) of time complexity and he don't care about space complexity.

Viewing 181 - 190 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 1,780 interview questions and reports from Senior full stack engineer interviews. Prepare for your interview. Get hired. Love your job.