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
What happens if we put a key object in a hashmap which exists?
Can sets contain duplicates?
Write a program for reversing the Single Linked List?
Where the data structures are used?
What are the major data structures used in the rdbms?
How does quicksort partition work?
Write a program to reverse a single linked list.
What is worst case complexity algorithm?
What is a cycle or a circuit?
What do you mean by priority queue?
Why do we Use a Multidimensional Array?
Can we use ordered set for performing binary search?
Why quicksort is faster than merge sort?
How to find the duplicate in an array?
Describe avl tree or height balanced binary search tree.