Difference between ARRAY and STACK in Data Structures

Explain the difference between ARRAY and STACK in Data Structures?

E

Expert

Verified

STACK follows the rules of LIFO. Therefore the item that is first entered would be the final removed. Within array the items can be entered or eliminated in any order. Fundamentally each member access is completed using index. Now no strict order is to be followed to eliminate a particular element.

   Related Questions in Database Management System

©TutorsGlobe All rights reserved 2022-2023.