Docsity

Data structure and Algorithms, Cheat Sheet of Data Structures and Algorithms

Toggle sidebar
bg1
i
Contents
1. Arrays
1.1. Introduction…………………………………………………….
1.2. Classification of Data Structures……………………………….
1.3. Arrays…………………………………………………………..
1.4. Array Access Elements…………………………………………
1.5. Problems………..………………………………………………
2. Recursion
2.1. Introduction…………………………………………………….
2.2. Recursion Types………………………………………………..
2.3. Problems………………………………………………………..
3. Linked Data
3.1. Introduction…………………………………………………….
3.2. Pointers…………………………………………………………
3.3. Linked List……………………………………………………...
3.4. Doubly Linked List……………………………………………..
3.5. Circular Linked List……………………………………………
3.6. Problems……………………………………………………….
4. Stack and Queue
4.1. Introduction…………………………………………………….
4.2. Stack……………………………………………………………
4.3. Expressions…………………………………………………….
4.4. Queue…………………………………………………………...
4.5. Circular Queue………………………………………………….
4.6. Problems………………………………………………………..
5. Trees
5.1. Introduction…………………………………………………….
1
2
4
4
4
6
7
8
10
13
14
15
15
16
19
22
25
26
27
27
30
33
36
39
40
41
pf3

Partial preview of the text

Download Data structure and Algorithms and more Cheat Sheet Data Structures and Algorithms in PDF only on Docsity!

i

Contents

1. Arrays

    1. Introduction…………………………………………………….
    1. Classification of Data Structures……………………………….
    1. Arrays…………………………………………………………..
    1. Array Access Elements…………………………………………
    1. Problems………..……………………………………………… 2. Recursion
    1. Introduction…………………………………………………….
    1. Recursion Types………………………………………………..
    1. Problems……………………………………………………….. 3. Linked Data
    1. Introduction…………………………………………………….
    1. Pointers…………………………………………………………
    1. Linked List……………………………………………………...
    1. Doubly Linked List……………………………………………..
    1. Circular Linked List……………………………………………
    1. Problems………………………………………………………. 4. Stack and Queue
    1. Introduction…………………………………………………….
    1. Stack……………………………………………………………
    1. Expressions…………………………………………………….
    1. Queue…………………………………………………………...
    1. Circular Queue………………………………………………….
    1. Problems……………………………………………………….. 5. Trees
    1. Introduction…………………………………………………….

ii

    1. Complete Binary Tree………………………………………….
    1. Types of Trees………………………………………………….
    1. Binary Tree Traversal………………………………………….
    1. Expression Tree………………………………………………..
    1. Heap……………………………………………………………
    1. Binary Search Tree (BST)……………………………………..
    1. Problems………………………………………………………. 6. Sorting and Searching
    1. Introduction…………………………………………………….
    1. Sorting Algorithms……………………………………………..
    1. Bubble Sort……………………………………………………..
    1. Insertion Sort…………………………………………………...
    1. Tree Sort………………………………………………………..
    1. Selection Sort…………………………………………………...
    1. Heap Sort……………………………………………………….
    1. Quick Sort………………………………………………………
    1. Merge Sort……………………………………………………...
    1. Shell Sort……………………………………………………...
    1. Searching Algorithms…………………………………………
    1. Sequential Searching………………………………………….
    1. The Indexed Sequential Search……………………………….
    1. The Binary Search……………………………………………
    1. Hashing………………………………………………………
    1. Resolving Collisions………………………………………….
    1. Hashing Function……………………………………………..
    1. Problems……………………………………………………… 7. Graph
    1. Introduction……………………………………………………..