Data structure & algorithm are two difference concepts, Data Structure help organizing and storing the data and algorithm is a step by step procedure to solve the promlem. With the help of DSA in application we can achieve efficient code like less processing time and less memory.
Data Structures
Data structures are classified in two different types
Linear Data Structures: A data structure that stores elements sequentially called linear data structure example: Array, LinkedList, Stack, Queue and Deque
Non Linear Data Structures: A data that stores elements in a hierarchical or network form called non linear data structure example: Graph, Tree, Trie