QUE:=>There is a que arise why we use two implementations of stack
=> the answer is there exit a main difference between two implementation(representation)
*In static we fix memory at the starting of repsntation
*Therefore memory fix
*In efficient use of memory
While
THATS WHY WE MORE USE LINKED OR DYANAMIC IMPLEMENTATION.
In dyanamic(linked repsntation) we allocate memory at the execution time.
*Effective us of memory
*We allocate memory according to our need
*So provide flexibility to programerTHATS WHY WE MORE USE LINKED OR DYANAMIC IMPLEMENTATION.
Kindly Share The Love »»
|
|
Tweet | Save on Delicious |
No comments:
Post a Comment