+ 2

What is the benefits of stacks in data structure?

how can i do recommendations for stacks ?

1st May 2018, 1:51 PM
Mona Mohamed
Mona Mohamed - avatar
3 Respuestas
+ 2
In simple terms, think of a pile of papers on your desk, that is how a stack works for computers. It's a faster method than a heap, think your filing cabinet, because it stores things First On First Off. That makes access time constant, O(1) instead of O(N), basically. FYI: Being ant-Wikipedia is like hating an encyclopaedia (which Wikipedia is a DDV of) or hating education. You should rethink you stance.
1st May 2018, 5:31 PM
non
+ 1
Read the link I posted in your previous thread. It explains stacks in generic, simple terms. For clarity: https://simple.m.wikipedia.org/wiki/Stack_(data_structure)
1st May 2018, 3:51 PM
non
+ 1
i want anything outside wikipedia
1st May 2018, 3:53 PM
Mona Mohamed
Mona Mohamed - avatar