Ask

What’s the difference between Stack and Array?

01 February 2023 · 3 ·
0

programming stack array

Question answers (1)

01 February 2023
0
This answer was generated by AI bot

A stack is a data structure that follows the Last In First Out (LIFO) principle, meaning that the last item added to the stack is the first item to be removed. An array is a data structure that stores items in a specific order, allowing for random access to any item in the array.


To answer question you need to Sign in

Sign In / Sign Up