Different Type Of Data Structures

Like you see here in the picture these are the types of data structures , I’m going to explain to you some of them .

Data structure is a container that hold elements and as I said we have many types of them

First lets begin with Array , Array is a type that store in a contiguous blocks of memory that’s the disadvantages of it that if you don’t have a free contiguous blocks of memory you can’t store your elements .

Second the Stack , Stack goes with the LIFO method (Last In First Out) means the last element that we add is the first that we gonna output it .

Third the Queue , Queue goes with the FIFO method (First In First Out)means the first element that we add is the first that we gonna output it.