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
Why hashtable is faster than arraylist?
When will we get ArrayStoreException?
Which is the parent class of sortedset
What is a simple graph?
Write an algorithm through which the inserting and deleting of elements can take place in circular queue?
How dynamic arrays are created?
What is linked list in data structure?
What are the difference between malloc() and calloc()?
Why is hashmap faster than treemap?
What is a tech stack?
Do you know what is linear search?
What do you know about traversal in linked lists?
What is difference between hashmap and hashset?
Which is best book for data structures?
Why do we use dynamic arrays?