A* Search Algorithm
intermediateLearn how A* combines actual cost with a heuristic estimate to find the cheapest path while exploring fewer nodes than Dijkstra.
Backtracking
intermediateLearn the backtracking algorithm technique for solving constraint satisfaction problems like N-Queens, permutations, and sudoku.
Breadth-First Search (BFS)
beginnerLearn how BFS explores graphs level by level using a queue, guaranteeing the shortest path on unweighted graphs.
BFS vs DFS: When to Use Each
beginnerCompare breadth-first and depth-first search to understand when each graph traversal strategy is the right choice.
Big-O Basics
beginnerUnderstand time complexity notation and learn to identify common patterns in your code.
Binary Search
beginnerLearn how binary search efficiently finds elements in sorted arrays using divide-and-conquer.
Binary Search Tree
intermediateLearn how binary search trees organize data for efficient searching, insertion, and deletion with O(log n) average performance.
Bubble Sort
beginnerUnderstand the simplest comparison sort: how adjacent swaps bubble elements into place, and why it's O(n^2).
Depth-First Search (DFS)
beginnerLearn how DFS explores graphs by diving deep into branches before backtracking, using a stack for traversal.
Dijkstra's Algorithm
intermediateLearn how Dijkstra finds the cheapest path on weighted graphs by expanding nodes in order of total cost.
Dijkstra and A* Search
intermediateUnderstand weighted shortest-path algorithms: how Dijkstra explores uniformly by cost, and how A* uses heuristics to search smarter.
Dynamic Programming
intermediateLearn dynamic programming — solving problems by breaking them into overlapping subproblems and reusing results, illustrated with the Fibonacci sequence.
Fast and Slow Pointers
intermediateLearn the two-pointer technique where pointers move at different speeds to solve problems like finding midpoints and detecting cycles.
Graphs and Weighted Graphs
beginnerUnderstand graph data structures: adjacency lists, edge weights, directed vs undirected, and how pathfinding algorithms operate on them.
Hash Maps
beginnerLearn how hash maps provide O(1) average-case lookups using hash functions and collision resolution strategies.
Heap Data Structure
intermediateLearn how binary heaps work as priority queues with O(log n) insertion and O(1) access to the min/max element.
Heap Sort
intermediateLearn how heap sort uses a binary heap to efficiently sort arrays in O(n log n) time with constant extra space.
Insertion Sort
beginnerLearn how insertion sort builds a sorted array one element at a time by shifting elements into their correct position.
Linear Search
beginnerThe simplest search algorithm: check every element one by one until you find the target or exhaust the array.
Merge Sort
intermediateLearn how merge sort guarantees O(n log n) performance by dividing, sorting, and merging subarrays.
Queues
beginnerLearn how the queue data structure works with First-In-First-Out (FIFO) ordering, its variants, and real-world applications.
Quick Sort
intermediateLearn how quicksort's divide-and-conquer strategy works, why pivot selection matters, and when it outperforms mergesort.
Radix Sort
intermediateLearn how radix sort achieves linear-time sorting by processing digits from least significant to most significant.
Selection Sort
beginnerLearn how selection sort finds the minimum element repeatedly and places it in the correct position.
Shell Sort
intermediateLearn how Shell sort improves on insertion sort by comparing elements at decreasing gap intervals.
Sliding Window Technique
intermediateLearn how the sliding window pattern transforms O(n^2) brute-force solutions into elegant O(n) algorithms for subarray and substring problems.
Stacks
beginnerLearn how the stack data structure works with Last-In-First-Out (LIFO) ordering, its operations, and real-world applications.