alexcoder04@programming.dev to Programmer Humor@programming.devEnglish · 1 year agoData structures…programming.devimagemessage-square12fedilinkarrow-up183arrow-down111
arrow-up172arrow-down1imageData structures…programming.devalexcoder04@programming.dev to Programmer Humor@programming.devEnglish · 1 year agomessage-square12fedilink
minus-squareGentoo1337@sh.itjust.workslinkfedilinkEnglisharrow-up4·edit-21 year agoIt’s the last element, so it has to wait for all the other elements on top of it to be popped in order to be accessed I think op meant last as in the element on the bottom
minus-squarealexcoder04@programming.devOPlinkfedilinkEnglisharrow-up3·1 year agoYea, I meant the last element as in the one at the bottom, but now I see that it‘s a little confusing…
minus-squareGentoo1337@sh.itjust.workslinkfedilinkEnglisharrow-up1·1 year agoYea I also thought the last one was the bottom one but then I remembered it was lifo
minus-squarebronzing@lemmy.fmhy.mllinkfedilinkEnglisharrow-up2·1 year agoOh ok I guess that makes sense. Was it that obvious? 😅
It’s the last element, so it has to wait for all the other elements on top of it to be popped in order to be accessed
I think op meant last as in the element on the bottom
Yea, I meant the last element as in the one at the bottom, but now I see that it‘s a little confusing…
Yea I also thought the last one was the bottom one but then I remembered it was lifo
Oh ok I guess that makes sense. Was it that obvious? 😅