Welcome to my repository! This is where I store my solutions and library for Competitive Programming. I use C++ to solve problems and implement algorithms. This repository helps me review my code and prepare for contests.
- Language: C++
- Template: I use a custom template (macro) to code faster
- Style: Competitive programming style (short variable names, fast I/O)
Here is an overview of the folders in this repository:
- π SEGMENT TREE: Code for Segment Trees (Point update, Range update, Lazy propagation)
- π FENWICK - BIT: Binary Indexed Tree implementations
- π RMQ - SPARSE_TABLE: Range Minimum Query using Sparse Table
- π GRAPH: Algorithms for graphs like BFS, DFS, Shortest Path (Dijkstra/Floyd), Bridges, and Spanning Trees
- π DYNAMIC PROGRAMMING: Classic DP problems (Knapsack, Longest Common Subsequence, Edit Distance)
- π STRING MATCHING: Algorithms for strings (KMP, Z-function, Hashing)
- π SIEVE: Prime, Divisor number generation and factorization
- π ADHOC: Math problems, Big Numbers, and logic puzzles
- π CSES Problems: My solutions for the CSES Problem Set
- Email: hodtduy.work@gmail.com
- Linked In: hodangthaiduy