Back to Course
DSA Fundamentals

DSA Examples: A-Z Guide

This A-Z guide provides a quick-reference overview of essential Data Structures and Algorithms concepts, each with a short explanation to help you navigate the subject.

TermBrief Explanation
ArrayA fixed-size, contiguous collection of elements accessed by index.
BFS (Breadth First Search)Graph traversal exploring neighbors level by level using a queue.
Complexity (Big-O)A notation to describe how an algorithm's time/space scales with input size.
DFS (Depth First Search)Graph traversal exploring as deep as possible before backtracking.
EdgeA connection between two vertices in a graph.
Fibonacci SequenceA classic recursion/DP example where each number is the sum of the two before it.
GraphA set of vertices connected by edges.
HashingMapping data to fixed-size values (hashes) for fast lookup.
Insertion SortA simple sorting algorithm that builds the sorted array one item at a time.
Junction (Fork) in RecursionA branching point where recursive calls split, as in divide-and-conquer.
Knapsack ProblemAn optimization problem to maximize value under a weight constraint.
Linked ListA sequence of nodes where each node points to the next.
Merge SortA stable, divide-and-conquer sorting algorithm running in O(n log n).
NodeA basic unit in trees, graphs, and linked lists holding data and references.
Optimal SubstructureA property where a problem's optimal solution is built from optimal solutions of subproblems.
Priority QueueAn abstract data type where elements are served based on priority.
QueueA FIFO linear structure.
RecursionA function calling itself to solve smaller instances of a problem.
StackA LIFO linear structure.
TreeA hierarchical structure with a root and child nodes, no cycles.
Union-Find (Disjoint Set)A structure to track a partition of elements into disjoint sets.
VertexA node in a graph.
Weighted GraphA graph where edges carry numeric weights/costs.
XOR TrickUsing the XOR operator to solve problems like finding a unique element.
Yield (Generators)A way to produce values lazily, often used in traversal algorithms.
Zero-One BFSA variant of BFS used for graphs with edge weights of only 0 or 1.

Ready to master Data Structures & Algorithms?

Learn DSA hands-on with mentor-led sessions, real interview practice, and placement support.

Explore Course