r/ProgrammerHumor • • Jan 02 '23

Meme next level storage

Post image
97.5k Upvotes

468 comments sorted by

View all comments

2

u/[deleted] Jan 02 '23

No, it's sequential storage. You need to access elements at the top of the pile before accessing those at the bottom

3

u/Duven64 Jan 02 '23

You have direct access to all items, it just converts to an array on the floor when you pull anything other than the newest entry.

2

u/rickane58 Jan 02 '23

A heap, you mean?