#Algorithm
10 posts
C++ Backtracking: Permutations, Combinations, and Search
Systematic guide to backtracking core framework and classic problems including permutations, combinations, subsets, and N-Queens in C++.
C++ Dynamic Programming: From Basics to Mastery
In-depth guide to DP core concepts, problem-solving framework, and classic problems including Fibonacci, Knapsack, and LCS with C++ implementations.
C++ Graph Algorithms: BFS, DFS, Shortest Path
Comprehensive guide to graph representations and classic algorithms including BFS, DFS, Dijkstra, and Topological Sort with C++ implementations.
C++ Greedy Algorithms: Strategies and Classic Problems
Guide to greedy algorithm core concepts and classic applications including interval scheduling, jump game, and task scheduling in C++.
C++ Hash Table and String Algorithms
Guide to hash table principles and classic string algorithms including sliding window, KMP, and string matching in C++.
C++ Linked List: Core Operations and Classic Problems
Systematic guide to singly linked list operations and classic algorithm problems with complete C++ implementations.
C++ Sorting Algorithms: Quick Sort, Merge Sort, Heap Sort
Comprehensive guide to three classic sorting algorithms with principles, implementations, and complexity comparison in C++.
C++ Stack and Queue: Principles and Classic Applications
Guide to stack and queue core operations and classic applications including bracket matching, monotonic stack, and priority queue in C++.
C++ Binary Tree: Traversal, Properties, and Classic Algorithms
Comprehensive guide to binary tree traversal methods, properties, and classic algorithm problems with C++ recursive and iterative implementations.
C++ Binary Search: From Basics to Variants
Deep dive into binary search algorithm principles, implementation, and common variants with complete C++ code examples and complexity analysis.