Interviewer And Interviewee Guide

Data Structures Interview Question:

What is the difference between ARRAY and STACK in Data Structures?

Submitted by: Administrator
STACK follows LIFO. Thus the item that is first entered would be the last removed.

In array the items can be entered or removed in any order. Basically each member access is done using index. No strict order is to be followed here to remove a particular element.
Submitted by: Administrator

Read Online Data Structures Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.