1732 - Finding Borders 1733 - Finding Periods 1110 - Minimal Rotation 1111 - Longest Palindrome 1112 - Required Substring 2420 - Palindrome Queries 2102 - Finding Patterns 2103 - Counting Patterns 2104 - Pattern
✔ Finding Borders Z function Prefix function / Hashing Code ✔ Finding Periods Z function Prefix function / Hashing Code ✔ Minimal Rotation Suffix Automata Code ✔ Longest Palindrome Manacher Code Required Substring Code ✔ Palindrome Queries Range Sum Hashing Code ✔ Finding Patterns Code ...
Finding_Borders.cpp submission on 8 march Mar 8, 2025 Forest_Queries.cpp at 12 stept 2024 Sep 12, 2024 Grid_Paths.cpp at 12 stept 2024 Sep 12, 2024 Increasing_Array.cpp at 12 stept 2024 Sep 12, 2024 Maximum_Subarray_Sum.cpp at 12 stept 2024 Sep 12, 2024 ...
2 changes: 1 addition & 1 deletion 2 String Algorithms/Finding Borders.cpp Original file line numberDiff line numberDiff line change @@ -13,7 +13,7 @@ char S[maxN]; int main(){ scanf("%s", S); N = strlen(S); N = (int) strlen(S); pow1[0] = pow2[0] = 1; for(int...
finding_borders.cc flight-discount.cc flight-routes-check-2.cc flight-routes-check.cc flight-routes-sample.in flight-routes-sample.ref flight-routes.cc forest-queries-II.cc forest-queries-sample.in forest-queries-sample.ref forest-queries.cc game-routes.cc giant-pizza-sample....
Star0 main 1Branch0Tags Code This branch is up to date withJonathan-Uy/CSES-Solutions:main. CSES Solutions Over 280 accepted solutions to theCSES Problem Set, written in C++ by Jonathan Uy(nulltype). As of December 23th, the following number of solutions have been completed: ...
main 1Branch0Tags Code CSES Solutions Over 280 accepted solutions to theCSES Problem Set, written in C++ by Jonathan Uy(nulltype). As of December 23th, the following number of solutions have been completed: Problem TypeNumber Solved Introductory Problems19/19 ...
Finding Borders Finding Periods Minimal Rotation Longest Palindrome Required Substring Palindrome Queries Finding Patterns Counting Patterns Pattern Positions Distinct Substrings Repeating Substring String Functions Substring Order I Substring Order II Substring Distribution Geometry Point Location Test Line Segment ...