Stack can be described as a pointer. Explain.
Answer Posted / shweta
the TOP of Stack element is pointed by a pointer,when we
use PUSH and POP operations i.e. LIFO.
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
How many types of data structures are used?
What is the difference between length () and size () of arraylist?
Differentiate between hashset and hashmap.
Why is arraylist not thread safe?
What is dynamic array how is it created?
How to get the index of an array element?
What do you know about the big-o notation and can you give some examples with respect to different data structures?
Can you dynamically allocate arrays in expanded memory?
Why are b trees used?
Is a list an array?
Explain heapsort. What is its complexity?
Is Arraylist faster than Array? Why?
Which is the parent class of enumset class?
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 ].
Can we add or delete an element after assigning an array?