---
# System prepended metadata

title: Shen yu ruei 的CSES題解
tags: [CSES]

---

# Shen_y_r的CSES題解
- [說明與目錄](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/rJ4dSBxBkx)
# Introductory Problems
- [Weird Algorithm](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/HJbkuBlHJe)
- [Missing Number](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/r1fzRHerkg)
- [Repetitions](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/HkdWeUlBkx)
- [Increasing Array](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/SyIxGLlHJx)
- [Permutations](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/ByjyE8gH1l)
- [Number Spiral](https://hackmd.io/@shen-y-r/BkuQZkIfxl)
- [Two Knights](https://hackmd.io/@shen-y-r/SJ-lmkLfgg)
- [Two Sets](https://hackmd.io/@shen-y-r/SyYgLJIfgg)
- [Bit Strings](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/rkMLjtbH1e)
- [Trailing Zeros](https://hackmd.io/@shen-y-r/SkEIdkIzgl)
- [Coin Piles](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/rJ2AwHerJg)
- [Palindrome Reorder](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/By6YZqWrye)
- [Gray Code](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/rkDV4q-r1x)
- [Tower of Hanoi](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/B1WscRzB1l)
- [Creating Strings](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/ByVDZJQBJe)
- [Apple Division](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/rkFbIkXBJe)
- [Chessboard and Queens](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/ByR2keXHJe)
- [Knight Moves Grid](https://hackmd.io/@shen-y-r/ByfCckUMxx)
- [Digit Queries](https://hackmd.io/@shen-y-r/ryMGh1Lfel)
# Sorting and Searching
- [Distinct Numbers](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/ryxEiGgmS1x)
- [Apartments](https://hackmd.io/@shen-y-r/H1OgKlDGlx)
- [Ferris Wheel](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/rJxLIeXrke)
- [Concert Tickets](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/H1hSZbrSJx)
- [Restaurant Customers](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/HkGSUZHryl)
- [Movie Festival](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/ryakhbBr1e)
- [Sum of Two Values](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/Skm8uGrH1x)
- [Maximum Subarray Sum](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/Hk-k3zrHkl)
- [Stick Lengths](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/BkIOlQHHyx)
- [Missing Coin Sum](https://hackmd.io/@shen-y-r/HybHZWDfgx)
- [Collecting Numbers](https://hackmd.io/@shen-y-r/HJYXnvSH1e)
- [Collecting Numbers II](https://hackmd.io/@shen-y-r/HyfG4ZPfgl)
- [Playlist](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/r1t6muHB1e)
- [Towers](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/S1XvF_SSke)
- [Traffic Lights](https://hackmd.io/@shen-y-r/Hk6Uv-vMeg)
- [Distinct Values Subarrays](https://hackmd.io/@shen-y-r/Bk7ecbvfex)
- [Nested Ranges Check](https://hackmd.io/@shen-y-r/Sy9WPYdzxg)
- [Room Allocation](https://hackmd.io/@shen-y-r/S1Vj9t_zex)
- [Factory Machines](https://hackmd.io/@shen-y-r/rJgL0Fufxg)
- [Subarray Sums I](https://hackmd.io/@shen-y-r/ry5KXOYGll)
- [Subarray Sums II](https://hackmd.io/@shen-y-r/ByxUcEdYMxl)
# Dynamic Programming
- [Dice Combinations](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/S1VYixXBkx)
- [Minimizing Coins](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/SygwRdSBkg)
- [Coin Combinations I](https://hackmd.io/@shen-y-r/HkM0zaIryx)
- [Coin Combinations II](https://hackmd.io/@shen-y-r/SyrTc6ISJe)
- [Grid Paths I](https://hackmd.io/@shen-y-r/rkP9wiuD1l)
- [Book Shop](https://hackmd.io/@shen-y-r/Hk9zRyIMee)
# Graph Algorithms
- [Counting Rooms](https://hackmd.io/@shen-y-r/SyfpGCLHkl)
- [Message Route](https://hackmd.io/@shen-y-r/S153_FAIkl)
# Range Queries
- [Static Range Sum Queries](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/ByGOv4VBye)
- [Static Range Minimum Queries](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/H19FdVNHye)
- [Dynamic Range Sum Queries](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/B11AhNNSkg)
- [Dynamic Range Minimum Queries](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/Hy7OCNVHJe)
- [Range Xor Queries](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/ryIl1HVSJl)
- [Range Update Queries](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/BJcVfrEBkg)
- [Forest Queries](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/Sk-6oH4rJx)
# Tree Algorithms
# Mathematics
- [Exponentiation](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/ByRUkU4Sye)
- [Counting Divisors](https://hackmd.io/@WtD-H9tXSdClCsk28akPVw/HkCAeW1H1e)
# String Algorithms
# Geometry
# Advanced Techniques
# Additional Problems