Skip to main content
Welcome to the Data Structures & Algorithms reference guide. This comprehensive resource covers fundamental data structures, common algorithms, and techniques used in software engineering.

Data Structures

Array

Store multiple values with fast indexed access

Hash Table

Key-value pairs with O(1) lookup time

Linked List

Dynamic sequential data structure

Stack

Last In First Out (LIFO) data structure

Queue

First In First Out (FIFO) data structure

Graphs

Model relationships between objects

Matrix

Two-dimensional arrays and grid operations

Trees

Hierarchical data structures

Algorithms

Sorting

Bubble, Selection, Insertion, Merge, Quick, Counting Sort

Searching

Linear, Binary, DFS, BFS

Techniques & Concepts

Complexity Analysis

Big O notation for time and space complexity

Recursion

Solving problems with self-calling functions

Backtracking

Exploring solutions and undoing bad choices

Dynamic Programming

Optimize recursive solutions with memoization

Gauss Sum

Calculate arithmetic series in O(1) time

Build docs developers (and LLMs) love