differences between stack and array
Answers
Answered by
1
In an array, you have a list of elements and you can access any of them at any time. (Think of a bunch of wooden blocks all laid out in a row.) But in a stack, there's no random-access operation; there are only Push , Peek and Pop , all of which deal exclusively with the element on the top of thestack.
PLZ MARK ME AS BRAINLIST
PLZ MARK ME AS BRAINLIST
barryallenflspefgbm:
thanks bro
Answered by
1
Hey mate!!! ❄️❄️
Here is your answer..
In an array you have to list of elements and you can access any of them at any time. But in stack there's no random - access operation
Here is your answer..
In an array you have to list of elements and you can access any of them at any time. But in stack there's no random - access operation
Similar questions