Environmental Sciences, asked by barryallenflspefgbm, 1 year ago

differences between stack and array

Answers

Answered by tushaar5
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

barryallenflspefgbm: thanks bro
Answered by radhika1251
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

barryallenflspefgbm: ghar mt bsa bhai
barryallenflspefgbm: u r in 9th standard
barryallenflspefgbm: bhai dil pe mt le age kya hai teri
barryallenflspefgbm: achi baat hai abhi time hai tere paas agar coding me intererst hai to lg ja abhi se future me boht aage jaega
Similar questions