2022126460-DataStructuresAlgorithmsusingCandC
2022126460-DataStructuresAlgorithmsusingCandC
Arrays Basics
Structures
Pointers
Reference in C++
Pointer to Structure
Functions
Parameter Passing Methods
Structures and Functions
Converting a C program to a C++ class
3.Introduction
4.Recursion
Generalizing Recursion
Static and Global Variables in Recursion
Head, Tail, and Tree Recursion
Indirect Recursion
Nested Recursion
Fibonacci Series using Recursion
5.Array Representation
Array Declaration
Static vs Dynamic Arrays
Increasing Array Size
2D Arrays
Row and Column Major Formula for 2D Arrays
Formulas for 3D & nD Arrays
6.Array ADT
Array ADT
Inserting in an Array
Deleting from Array
Linear Search
Binary Search
Get( ) Set( ) Avg( ) Max( ) functions on Array
Merging and Sorting Arrays
7.Strings
8.Matrices
10.Linked List
12.Stacks
13.Queues
Queue ADT
Queue using Single Pointer
Queue using Two Pointers
Implementing Queue using Array
Drawback of Queue using Array
Circular Queue
Double Ended Queue DEQUEUE
14.Trees
Terminology
Number of Binary Trees using N Nodes
Height vs Nodes in Binary Tree
Internal Nodes vs External Nodes in Binary Tree
Strict Binary Tree
Height vs Node of Strict Binary Tree
Internal vs External Nodes of Strict Binary Trees
n-ary Trees
Analysis of n-Ary Trees
Full vs Complete Binary Tree
17.Search Trees
2-3 Trees
2-3-4 Trees
Red-Black Trees
Red-Black Trees vs 2-3-4 Trees
Creating Red-Black Tree similar to Creating 2-3-4 Tree
18.Heap
Inserting in a Heap
Creating a Heap
Deleting from Heap and Heap Sort
Heap as Priority Queue
19.Sorting Technique
20.Hashing Technique
Chaining
Linear Probing
Quadratic Probing
Double Hashing
Hash Function Ideas
21.Graphs
22.Asymptotic Notations
Big Oh
Omega
Theta