How is it possible to insert different type of elements in
stack?
Answer Posted / poornakala
you ca implement stack with union datatype... u may think
of structures.. but struct use storin of all values and mem
allocated for all in each.. but in union only one at a
time... this is right i think...
Is This Answer Correct ? | 61 Yes | 9 No |
Post New Answer View All Answers
Which collection is fail safe?
Explain heapsort. What is its complexity?
Is hashmap synchronized?
Which algorithm is used in arrays sort?
Differentiate between hashset and treeset.
Can we give size to arraylist?
Why do we need algorithm?
What do you mean by articulation point?
what is traversal in linked lists?
Define disjoint set adt?
What is the difference between hashset and treeset?
Which interfaces are implemented by linkedhashset?
What is data structure explain in detail?
Why is null not allowed in concurrenthashmap?
Where is insertion sort used?