General
Introductory Problems
- Weird Algorithm111818 / 117132
- Missing Number95572 / 100650
- Repetitions83370 / 87171
- Increasing Array78195 / 81367
- Permutations68663 / 70954
- Number Spiral48757 / 53147
- Two Knights36684 / 37947
- Two Sets39683 / 43061
- Bit Strings45971 / 48535
- Trailing Zeros42977 / 45910
- Coin Piles38050 / 41906
- Palindrome Reorder34961 / 37136
- Gray Code22221 / 25280
- Tower of Hanoi20630 / 21488
- Creating Strings30018 / 30895
- Apple Division29381 / 33523
- Chessboard and Queens17456 / 17813
- Digit Queries12140 / 14508
- Grid Paths7187 / 9242
Sorting and Searching
- Distinct Numbers53529 / 58396
- Apartments39298 / 44321
- Ferris Wheel37509 / 40830
- Concert Tickets30233 / 35771
- Restaurant Customers30996 / 33705
- Movie Festival29167 / 31097
- Sum of Two Values34315 / 38900
- Maximum Subarray Sum33600 / 35244
- Stick Lengths29875 / 31496
- Missing Coin Sum21468 / 22310
- Collecting Numbers22197 / 23955
- Collecting Numbers II8862 / 11583
- Playlist22722 / 26411
- Towers23180 / 25014
- Traffic Lights18108 / 20364
- Josephus Problem I12899 / 14484
- Josephus Problem II7215 / 9679
- Nested Ranges Check7320 / 8548
- Nested Ranges Count5079 / 5954
- Room Allocation13321 / 15433
- Factory Machines17883 / 19875
- Tasks and Deadlines15390 / 15742
- Reading Books12301 / 13202
- Sum of Three Values18100 / 20381
- Sum of Four Values11332 / 12806
- Nearest Smaller Values15206 / 15783
- Subarray Sums I19850 / 21230
- Subarray Sums II17024 / 20981
- Subarray Divisibility16230 / 17792
- Subarray Distinct Values9574 / 10319
- Array Division15116 / 16001
- Sliding Window Median9932 / 11352
- Sliding Window Cost6727 / 7757
- Movie Festival II8137 / 10032
- Maximum Subarray Sum II7523 / 9072
Dynamic Programming
- Dice Combinations54253 / 57701
- Minimizing Coins46919 / 50691
- Coin Combinations I42973 / 46827
- Coin Combinations II36148 / 41391
- Removing Digits40153 / 41117
- Grid Paths38134 / 39367
- Book Shop33662 / 37523
- Array Description24493 / 27548
- Counting Towers14338 / 15229
- Edit Distance25171 / 26697
- Rectangle Cutting20999 / 23004
- Money Sums25128 / 26226
- Removal Game18186 / 20154
- Two Sets II19790 / 21590
- Increasing Subsequence20356 / 23051
- Projects13741 / 15574
- Elevator Rides8406 / 10810
- Counting Tilings4848 / 5339
- Counting Numbers6493 / 7474
Graph Algorithms
- Counting Rooms37036 / 39243
- Labyrinth24709 / 30573
- Building Roads32357 / 33661
- Message Route27507 / 28800
- Building Teams25859 / 27626
- Round Trip20538 / 22617
- Monsters13295 / 16225
- Shortest Routes I22141 / 25049
- Shortest Routes II17864 / 20516
- High Score9969 / 15571
- Flight Discount13536 / 16373
- Cycle Finding9768 / 12330
- Flight Routes9323 / 10483
- Round Trip II10987 / 12551
- Course Schedule14590 / 15737
- Longest Flight Route9661 / 12692
- Game Routes11198 / 12222
- Investigation8234 / 8931
- Planets Queries I7063 / 8472
- Planets Queries II2617 / 3291
- Planets Cycles4496 / 5061
- Road Reparation11027 / 11568
- Road Construction11682 / 12122
- Flight Routes Check9857 / 10840
- Planets and Kingdoms7928 / 8244
- Giant Pizza3216 / 3605
- Coin Collector4929 / 5586
- Mail Delivery4255 / 4705
- De Bruijn Sequence2231 / 2349
- Teleporters Path3262 / 3756
- Hamiltonian Flights4767 / 5445
- Knight's Tour1851 / 2269
- Download Speed3303 / 4484
- Police Chase2542 / 2903
- School Dance2807 / 2996
- Distinct Routes1829 / 2499
Range Queries
- Static Range Sum Queries25179 / 26307
- Static Range Minimum Queries18575 / 19922
- Dynamic Range Sum Queries19244 / 20128
- Dynamic Range Minimum Queries17636 / 18091
- Range Xor Queries18017 / 18277
- Range Update Queries14197 / 15348
- Forest Queries13942 / 14495
- Hotel Queries10117 / 10870
- List Removals8503 / 8966
- Salary Queries6352 / 7753
- Prefix Sum Queries5170 / 5663
- Pizzeria Queries4187 / 4354
- Subarray Sum Queries5298 / 5843
- Distinct Values Queries4909 / 5978
- Increasing Array Queries1802 / 2069
- Forest Queries II3296 / 3582
- Range Updates and Sums4068 / 4960
- Polynomial Queries3073 / 3622
- Range Queries and Copies2135 / 2316
Tree Algorithms
- Subordinates21359 / 23002
- Tree Matching11929 / 14051
- Tree Diameter17581 / 18778
- Tree Distances I13153 / 14234
- Tree Distances II10851 / 11327
- Company Queries I11930 / 12630
- Company Queries II11166 / 11765
- Distance Queries10270 / 11048
- Counting Paths6215 / 6648
- Subtree Queries7631 / 8182
- Path Queries6059 / 6414
- Path Queries II2228 / 3564
- Distinct Colors5746 / 6431
- Finding a Centroid4740 / 4950
- Fixed-Length Paths I2037 / 2819
- Fixed-Length Paths II879 / 1880
Mathematics
- Josephus Queries3075 / 3865
- Exponentiation17056 / 18391
- Exponentiation II12260 / 14994
- Counting Divisors15321 / 17483
- Common Divisors10199 / 12104
- Sum of Divisors5718 / 8709
- Divisor Analysis3769 / 5047
- Prime Multiples4107 / 4914
- Counting Coprime Pairs2625 / 3114
- Binomial Coefficients6961 / 7862
- Creating Strings II5947 / 6349
- Distributing Apples5799 / 6279
- Christmas Party4432 / 4809
- Bracket Sequences I3101 / 3436
- Bracket Sequences II1594 / 1850
- Counting Necklaces1508 / 1647
- Counting Grids1209 / 1293
- Fibonacci Numbers5020 / 6425
- Throwing Dice2715 / 2955
- Graph Paths I2484 / 2687
- Graph Paths II2090 / 2191
- Dice Probability2328 / 2520
- Moving Robots1187 / 1265
- Candy Lottery685 / 1933
- Inversion Probability617 / 1660
- Stick Game2521 / 2584
- Nim Game I3270 / 3404
- Nim Game II2645 / 2763
- Stair Game1812 / 1977
- Grundy's Game1183 / 1523
- Another Game1357 / 1480
String Algorithms
- Word Combinations3897 / 5894
- String Matching7739 / 10853
- Finding Borders5705 / 6320
- Finding Periods3993 / 4539
- Minimal Rotation1945 / 3108
- Longest Palindrome2929 / 4056
- Required Substring1096 / 1775
- Palindrome Queries1406 / 1674
- Finding Patterns1265 / 1837
- Counting Patterns1153 / 1486
- Pattern Positions976 / 1235
- Distinct Substrings1172 / 1418
- Repeating Substring1248 / 1413
- String Functions1118 / 1184
- Substring Order I850 / 917
- Substring Order II530 / 682
- Substring Distribution731 / 800
Geometry
- Point Location Test4964 / 5664
- Line Segment Intersection2978 / 3878
- Polygon Area3532 / 3789
- Point in Polygon1866 / 2460
- Polygon Lattice Points1637 / 1704
- Minimum Euclidean Distance1401 / 2072
- Convex Hull2424 / 2929
Advanced Techniques
- Meet in the Middle4440 / 6628
- Hamming Distance2314 / 2517
- Beautiful Subgrids1642 / 1844
- Reachable Nodes1639 / 1773
- Reachability Queries1113 / 1330
- Cut and Paste1076 / 1204
- Substring Reversals941 / 1032
- Reversals and Sums943 / 1031
- Necessary Roads1409 / 1451
- Necessary Cities1313 / 1384
- Eulerian Subgraphs582 / 614
- Monster Game I856 / 946
- Monster Game II764 / 825
- Subarray Squares884 / 1041
- Houses and Schools554 / 641
- Knuth Division648 / 737
- Apples and Bananas620 / 683
- One Bit Positions580 / 645
- Signal Processing538 / 586
- New Roads Queries1451 / 1771
- Dynamic Connectivity659 / 755
- Parcel Delivery492 / 560
- Task Assignment520 / 565
- Distinct Routes II400 / 463
Additional Problems
- Shortest Subsequence2208 / 2940
- Counting Bits2594 / 3326
- Swap Game1471 / 1874
- Prüfer Code1024 / 1121
- Acyclic Graph Edges1590 / 1694
- Strongly Connected Edges1025 / 1127
- Even Outdegree Edges929 / 1081
- Multiplication Table3923 / 4454
- Advertisement3001 / 3191
- Special Substrings676 / 738
- Permutation Inversions727 / 801
- Maximum Xor Subarray1671 / 1839
- Movie Festival Queries736 / 831
- Chess Tournament828 / 947
- Tree Traversals805 / 904
- Network Renovation712 / 945
- Graph Girth2243 / 2608
- Intersection Points1341 / 1450
- Inverse Inversions733 / 771
- Monotone Subsequences494 / 555
- String Reorder571 / 628
- Stack Weights435 / 509
- Pyramid Array550 / 660
- Increasing Subsequence II1712 / 1857
- String Removals728 / 786
- Bit Inversions1727 / 1985
- Xor Pyramid1069 / 1364
- Writing Numbers567 / 616
- String Transform359 / 449
- Letter Pair Move Game132 / 196
- Maximum Building I1532 / 1599
- Sorting Methods618 / 661
- Cyclic Array796 / 908
- List of Sums337 / 449
- Increasing Array II582 / 667
- Food Division402 / 476
- Bit Problem1199 / 1291
- Swap Round Sorting320 / 395
- Binary Subsequences181 / 280
- Tree Isomorphism I774 / 895
- Counting Sequences430 / 470
- Critical Cities293 / 448
- School Excursion975 / 1039
- Coin Grid544 / 650
- Robot Path227 / 379
- Programmers and Artists374 / 485
- Course Schedule II1187 / 1693
- Removing Digits II142 / 310
- Coin Arrangement235 / 313
- Counting Bishops260 / 295
- Grid Puzzle I371 / 408
- Grid Puzzle II289 / 327
- Empty String1095 / 1314
- Grid Paths555 / 696
- Bit Substrings265 / 327
- Reversal Sorting248 / 304
- Counting Reorders140 / 216
- Book Shop II754 / 876
- Network Breakdown691 / 735
- Visiting Cities495 / 654
- Missing Coin Sum Queries288 / 388
- Number Grid640 / 769
- Maximum Building II319 / 395
- Filling Trominos162 / 263
- Stick Divisions2776 / 3290
- Coding Company1032 / 1323
- Flight Route Requests337 / 409
- Two Stacks Sorting105 / 357
- Tree Isomorphism II630 / 729
- Forbidden Cities542 / 704
- Area of Rectangles769 / 868
- Grid Completion142 / 189
- Creating Offices297 / 380
- Permutations II641 / 733
- Functional Graph Distribution162 / 203
- New Flight Routes236 / 570
- Grid Path Construction72 / 292