INTRODUCTION TO DATA STRUCTURES AND ALGORITHMS WITH PYTHON
Tags: programming, datascience, python, design
Published: 2022-02-21 22:44:08

1. 
**OVERVIEW OF DATA STRUCTURES AND ALGORITHM**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/woz2mfbofk7acj5jhsbm.jpg)
    Data structures are fundamental concept of computer science which help in writing efficient programs in any language python is a high level language so by using python we can study the fundamentals of data structures in a simpler way compared to other programming languages

 **Goal of This Article**
       The article is meant to aid beginners in the following way:
* Understand what is data structure
* Different types of data structures and
* Why you should know data structure as a techie.

 **WHAT ARE DATA STRUCTURES AND ALGORITHMS?**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lm4cues0i3frcge3v283.jpg)
   **DATA STRUCTURE:** Data structure is a collection of data types. **'Values'** which are stored and organized in such a way that its allowed for efficient access and modification.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1r1j6q9520ku5ryakt23.jpg)
    **ALGORITHM:** Algorithms are series of instructions telling a computer how to transform a set of facts about the world. In-order words algorithms are sequence of steps given to the computer to solve a given problem.


  **DIFFERENT TYPES OF DATA STRUCTURE**
  **Linear Data Structure:**
       A Linear data structure have data elements arranged in sequential manner and each member element is connected to its previous and next element. ... Such data structures are easy to implement as computer memory is also sequential. Examples of linear data structures are List, 

**Non Linear Data Structure:**
      A non-linear data structure has no set sequence of connecting all its elements and each element can have multiple paths to connect to other elements. Such data structures supports multi-level storage and often cannot be traversed in single run. ... Examples of non-linear data structures are Tree, BST, Graphs e.t.c [source](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjcvNi96ZH2AhVwi_0HHaO3CVEQFnoECAkQAw&url=https%3A%2F%2Fwww.tutorialspoint.com%2Fdifference-between-linear-and-non-linear-data-structures&usg=AOvVaw2liW9wHMjcmJBzCij4YZoz)


 **TYPES OF DATA STRUCTURES**
* LISTS
* LINKED LIST:
   A linked list is a sequence of items arranged in a linear order all connected to each other. This means you must access data in order, so random access to data is not possible.

* SETS
* DICTIONARIES
* TUPLES

* STACKS:
     A stack works almost exactly as it sounds. It’s like stacking elements within a tall container.

* QUEUES:
     A queue functions similarly to a stack, but instead of being a LIFO structure, it is a FIFO (First In First Out) structure. The easiest way to think about a queue is to think of a line of people waiting to enter a building. The person at the beginning of the line will enter the building first, while the person at the end will enter last.

 
**BENEFIT OF DATA**
       
  Data is so much important in our daily lives from how we carry out our routine daily activities data revolves around u we cant do without it.

**CONCLUSION** 
      This article was written to explain data structures and algorithms in simple terms. 



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qvlm1b9yrsa54mmswr3i.jpg)