Quadratic Probing Hash Table – Quadratic Probing Collision – Quadratic Probing in Data Structures
Quadratic Probing – Explanation with Example Quadratic Probing is a collision resolution technique used in open addressing. Instead of checking […]
This category contains posts about Data Structures and Algorithms.
Quadratic Probing – Explanation with Example Quadratic Probing is a collision resolution technique used in open addressing. Instead of checking […]
Linear Probing Explained with Example Definition:Linear Probing is a collision resolution technique in open addressing where, when a collision occurs,
Collision Resolution Techniques in Hashing When two keys hash to the same index in a hash table, a collision occurs.
Collision Resolution Techniques in Hashing When two keys hash to the same index in a hash table, a collision occurs.
Hashing: Concept & Explanation Hashing is a technique used in computer science to store and retrieve data efficiently. It involves
Prim’s Algorithm – Minimum Spanning Tree (MST) Prim’s Algorithm is a greedy algorithm used to find the Minimum Spanning Tree
Kruskal’s Algorithm (Minimum Spanning Tree – MST) Kruskal’s Algorithm is a greedy algorithm used to find the Minimum Spanning Tree
Floyd-Warshall Algorithm The Floyd-Warshall Algorithm is an efficient way to find the shortest paths between all pairs of nodes in
The Bellman-Ford Algorithm is used to find the shortest path from a single source vertex to all other vertices in
Dijkstra’s algorithm finds the shortest path from a source vertex to all other vertices in a weighted graph with non-negative
Common Graph Algorithms 2. Minimum Spanning Tree (MST): 3. Cycle Detection: 4. Topological Sorting: 5. Connected Components:
Spanning Tree A spanning tree is a sub-graph of a graph (undirected & connected), which includes all the vertices of
Graph Traversal Techniques Graph traversal involves visiting all the vertices and edges in a graph. Common traversal techniques include: 2.
Graph Representation Graphs can be represented in various ways: Matrix Representation: The adjacency matrix is a V×V table where: 2.
Types of Graphs 2. Weighted vs. Unweighted Graphs: 3. Cyclic vs. Acyclic Graphs: 4. Sparse vs. Dense Graphs: 5. Special
Graphs in Data Structures and Algorithms (DSA) A graph is a non-linear data structure consisting of nodes (also called vertices)
A Priority Queue is a special type of queue in which elements are arranged based on their priority. Unlike a
A Circular Queue is a type of queue data structure where the last position is connected back to the first