Why is the linked list representation of the stack better than the array representation of the stack?
Answers
Answered by
2
Answer:
first mark me as brainlist then i will tell you answer because you all are very smart
Answered by
1
Answer:
In array, each element is independent and can be accessed using it's index value. In case of a linked list, each node/element points to the next, previous, or maybe both nodes. ... It grows at runtime, as more nodes are added to it. Array gets memory allocated in the Stack section.
Explanation:
THIS IS YOUR ANSWER MATE...
I THINK IT IS HELPFULL TO YOU...
MARK ME AS BRAINLIST...
AND PLEASE FOLLOW ME...
Similar questions