DSA stands for data structures and algorithms. It refers to the study and implementation of various data types. It involves the orgianization, management and manipulation techniques to solve computational problems.
Some common data structures are:
- Arrays- fundamental data structure that stores a collection of elements of same data type in contiguous memory locations
- Linkedlists- is a dynamic data structure in which elements are stored as separate objects and each element ("node") conatins a reference ("link") to the next node
- Stacks- follows Last-In-First-Out(LIFO) mechanism,meaning last element added would be the first one to be removed.
- Queues-a Fisrt-in-First-Out(FIFO) dsa,implies that the first element added will be the first to be removed.
- Trees-used to represent hierachial relationships between elements. Types of trees;binary,trie,b-tree
- Hash tables- provides efficient storage,search,insertion,and deletion operations
- Graphs- a non linear data structure consisting of nodes(vertices) connected by edges.
- Bubble Sort - is a simple sorting algorithm that works repeatedly iterating through a list of elements,comparing the adjacent elements and swapping them if they are in the wrong order. To know more about it, you can visit this website. https://runestone.academy/ns/books/published/pythonds/SortSearch/TheBubbleSort.html#:~:text=The%20bubble%20sort%20makes%20multiple,the%20location%20where%20it%20belongs
- Insertion Sort- is a sorting algorithm that works by dividing input into a sorted and unsorted region.Each subsequent element from the unsorted region is inserted into sorted region as its correct position.To know more about this visit the website https://www.w3schools.com/dsa/dsa_algo_insertionsort.php
- Merge Sort- it uses divide-and-conquer technique to sort arrays. To know more about the same https://www.geeksforgeeks.org/merge-sort/
- Selection Sort
- Radix Sort
- Counting Sort
- Bucket Sort
- Shell Sort
- Heap Sort
- Quick Sort
- Linear Search
- Binary search
- Hashing
- Depth-First Search(DFS)
- Breadth-First Search(BFS)
1.Dijkstra's Algorithm
- Huffman Coding
- Greedy Coloring
- Activity Selection Problem
1.N-Queens Problem
- Factorial
- Fibonacci Series
- Quick sort