How do stacks work?
No Answer is Posted For this Question
Be the First to Post Answer
Differentiate between iterator and listiterator.
Which is better hashset or treeset?
What is a static structure?
On clicking a node in a tree, all the adjacent edges are turned on. Calculate min of clicks such that all the edges are turned on.
Provide an algorithm to reverse a linked list without using recursion.
How do you solve a selection sort?
Why do we use data structures?
What is inplace sorting?
How to create an Array?
Explain the term run-time stack?
an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
How can you implement a stack?