-
I'm very intrigued on this and I'd like it if someone with experience could give me some advice on my question, it would be much appreciated! |
Beta Was this translation helpful? Give feedback.
Answered by
Emojees
Jan 22, 2025
Replies: 1 comment
-
Stack follows a Last In First Out (LIFO) pattern. What this means is that data access necessarily follows a particular sequence where the last data to be stored is the first one that will be extracted. On the other hand, arrays do not follow a specific order but can instead be accessed or called by referring to the indexed element within the array. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Kuefo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stack follows a Last In First Out (LIFO) pattern. What this means is that data access necessarily follows a particular sequence where the last data to be stored is the first one that will be extracted.
On the other hand, arrays do not follow a specific order but can instead be accessed or called by referring to the indexed element within the array.