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 is the space complexity of quicksort?
What are the advantages of sorting?
What package is arraylist?
Explain the internal working of a hash map?
Define avl tree?
What stack means?
How can you add an item to the beginning of the list?
What is the difference between collection and collections?
Which sorting algorithm is considered the fastest?
Is it possible to increase size of array?
What are types of Collision Resolution Techniques and the methods used in each of the types?
What is the difference between hashset and treeset?
What is meant by binary tree traversal?
What do you mean by garbage collection?
Is heap sort faster than quicksort?