Design a stack class which will return the most occurring number in the stack. If 2 numbers have the same count of occurrence then return the number which is at the top of stack. For this I was required to write the class with 2 methods push() & pop().
Software Engineer Staff Interview Questions
2,548 software engineer staff interview questions shared by candidates
embedded software real time operating system problem solving C/C++ coding
Hiring manager: What would you do to make sure that you can work with me?
Just to relate my work experience to the roles they were expecting to happen.
What is the difference between composition and inheritance? When would you use 1 over the other?
1. Given two strings - find number of same character at same position and number of present character but at diffrenet position 2. Find highest sum of contiguous array elements for a given array. 3. print 1-100 using three threads, even using 1st, odd using second and a delemeter using 3rd
Can you describe a time when a solution you proposed turned out to not be practical or performant.
Simple Database questions. Join queries etc.
design distributed, high performance, fault-tolerant, scaling cache layer
To debug a complex problem.
Viewing 251 - 260 interview questions