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
Define 2-3-4 tree?
What is inplace sorting?
What type of variable is age?
What is static array?
List the differences between comparable and comparator interface?
Can arraylist be resized?
What is a undirected graph?
Which is faster array or linked list?
What is adt in data structure with example?
You want to insert a new item in a binary search tree. How would you do it?
What are the tasks performed while traversing a binary tree?
What do you mean by sorting data?
Why do we need a data structure?
What is time and space complexity of bubble sort?
What are the types of map?