Developer Interview Questions

269,373 developer interview questions shared by candidates

You are given a dynamic stack, with random numbers constantly being pushed in, and popped out. At any given time, what is the smallest number in the stack. Condition 1 - You are not allowed to scan the entire stack and search for the smallest number. Condition 2 - You cannot use more storage space than the stack itself.
avatar

Software Developer

Interviewed at Dell Technologies

3.7
Aug 29, 2012

You are given a dynamic stack, with random numbers constantly being pushed in, and popped out. At any given time, what is the smallest number in the stack. Condition 1 - You are not allowed to scan the entire stack and search for the smallest number. Condition 2 - You cannot use more storage space than the stack itself.

Viewing 2151 - 2160 interview questions

Glassdoor has 269,373 interview questions and reports from Developer interviews. Prepare for your interview. Get hired. Love your job.