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 default capacity of hashmap?
How do you sort large data?
What is a treeset?
What is linked list in data structure?
What is difference between concurrenthashmap and hashtable?
What is dequeue operation?
Define a linear data structure.
How does sort function work?
Which is more efficient merge sort vs quicksort?
Define heap order property?
What is the need of sorting?
What is unhashable type list?
Does arraylist shrink?
What is queue example?
What happens if we try to insert duplicate key in hashmap?