General
Introductory Problems
- Weird Algorithm107067 / 112127
- Missing Number91432 / 96347
- Repetitions79817 / 83537
- Increasing Array74805 / 77857
- Permutations65763 / 67950
- Number Spiral46729 / 50933
- Two Knights35038 / 36252
- Two Sets37913 / 41162
- Bit Strings44049 / 46509
- Trailing Zeros41202 / 44022
- Coin Piles36413 / 40155
- Palindrome Reorder33435 / 35545
- Gray Code21082 / 24012
- Tower of Hanoi19574 / 20402
- Creating Strings28728 / 29577
- Apple Division28008 / 32003
- Chessboard and Queens16666 / 17007
- Digit Queries11490 / 13755
- Grid Paths6872 / 8833
Sorting and Searching
- Distinct Numbers51014 / 55729
- Apartments37369 / 42268
- Ferris Wheel35647 / 38867
- Concert Tickets28729 / 34054
- Restaurant Customers29474 / 32082
- Movie Festival27749 / 29605
- Sum of Two Values32673 / 37117
- Maximum Subarray Sum32062 / 33666
- Stick Lengths28419 / 30007
- Missing Coin Sum20273 / 21085
- Collecting Numbers20923 / 22606
- Collecting Numbers II8341 / 10927
- Playlist21594 / 25047
- Towers22002 / 23774
- Traffic Lights17210 / 19363
- Josephus Problem I12072 / 13603
- Josephus Problem II6826 / 9098
- Nested Ranges Check6825 / 8005
- Nested Ranges Count4779 / 5583
- Room Allocation12628 / 14658
- Factory Machines16776 / 18700
- Tasks and Deadlines14590 / 14926
- Reading Books11677 / 12537
- Sum of Three Values17142 / 19351
- Sum of Four Values10787 / 12173
- Nearest Smaller Values14400 / 14953
- Subarray Sums I18782 / 20116
- Subarray Sums II15924 / 19797
- Subarray Divisibility15294 / 16809
- Subarray Distinct Values8899 / 9615
- Array Division14201 / 15049
- Sliding Window Median9290 / 10624
- Sliding Window Cost6350 / 7325
- Movie Festival II7855 / 9513
- Maximum Subarray Sum II7138 / 8636
Dynamic Programming
- Dice Combinations51569 / 54882
- Minimizing Coins44562 / 48164
- Coin Combinations I40855 / 44546
- Coin Combinations II34354 / 39377
- Removing Digits38056 / 38978
- Grid Paths36165 / 37338
- Book Shop31893 / 35579
- Array Description23160 / 26078
- Counting Towers13474 / 14310
- Edit Distance23881 / 25352
- Rectangle Cutting19908 / 21810
- Money Sums23803 / 24852
- Removal Game17163 / 19052
- Two Sets II18741 / 20470
- Increasing Subsequence19256 / 21856
- Projects12996 / 14744
- Elevator Rides7925 / 10184
- Counting Tilings4520 / 4983
- Counting Numbers6039 / 6984
Graph Algorithms
- Counting Rooms35079 / 37206
- Labyrinth23296 / 28851
- Building Roads30521 / 31796
- Message Route25961 / 27206
- Building Teams24488 / 26173
- Round Trip19410 / 21396
- Monsters12478 / 15268
- Shortest Routes I20901 / 23705
- Shortest Routes II16764 / 19362
- High Score9252 / 14650
- Flight Discount12662 / 15367
- Cycle Finding9220 / 11607
- Flight Routes8706 / 9808
- Round Trip II10324 / 11826
- Course Schedule13718 / 14876
- Longest Flight Route9032 / 11968
- Game Routes10494 / 11492
- Investigation7727 / 8392
- Planets Queries I6560 / 7906
- Planets Queries II2493 / 3114
- Planets Cycles4239 / 4774
- Road Reparation10271 / 10777
- Road Construction10929 / 11345
- Flight Routes Check9256 / 10202
- Planets and Kingdoms7469 / 7770
- Giant Pizza3033 / 3405
- Coin Collector4590 / 5220
- Mail Delivery3969 / 4405
- De Bruijn Sequence2100 / 2207
- Teleporters Path3021 / 3501
- Hamiltonian Flights4494 / 5134
- Knight's Tour1759 / 2152
- Download Speed3093 / 4235
- Police Chase2414 / 2765
- School Dance2655 / 2836
- Distinct Routes1734 / 2369
Range Queries
- Static Range Sum Queries23902 / 24990
- Static Range Minimum Queries17696 / 18928
- Dynamic Range Sum Queries18296 / 19140
- Dynamic Range Minimum Queries16713 / 17149
- Range Xor Queries17034 / 17289
- Range Update Queries13414 / 14535
- Forest Queries13198 / 13732
- Hotel Queries9503 / 10243
- List Removals8033 / 8475
- Salary Queries5957 / 7261
- Prefix Sum Queries4824 / 5285
- Pizzeria Queries3924 / 4081
- Subarray Sum Queries4971 / 5513
- Distinct Values Queries4626 / 5633
- Increasing Array Queries1684 / 1939
- Forest Queries II3145 / 3411
- Range Updates and Sums3817 / 4685
- Polynomial Queries2905 / 3423
- Range Queries and Copies2029 / 2202
Tree Algorithms
- Subordinates20121 / 21711
- Tree Matching11266 / 13271
- Tree Diameter16641 / 17784
- Tree Distances I12388 / 13431
- Tree Distances II10193 / 10636
- Company Queries I11196 / 11865
- Company Queries II10469 / 11043
- Distance Queries9680 / 10412
- Counting Paths5828 / 6253
- Subtree Queries7183 / 7687
- Path Queries5665 / 5994
- Path Queries II2054 / 3329
- Distinct Colors5397 / 6058
- Finding a Centroid4460 / 4657
- Fixed-Length Paths I1896 / 2653
- Fixed-Length Paths II801 / 1776
Mathematics
- Josephus Queries2872 / 3628
- Exponentiation16281 / 17572
- Exponentiation II11706 / 14354
- Counting Divisors14439 / 16498
- Common Divisors9674 / 11523
- Sum of Divisors5407 / 8286
- Divisor Analysis3553 / 4747
- Prime Multiples3864 / 4635
- Counting Coprime Pairs2448 / 2901
- Binomial Coefficients6623 / 7501
- Creating Strings II5617 / 5999
- Distributing Apples5472 / 5940
- Christmas Party4199 / 4560
- Bracket Sequences I2898 / 3211
- Bracket Sequences II1490 / 1728
- Counting Necklaces1425 / 1560
- Counting Grids1147 / 1227
- Fibonacci Numbers4800 / 6160
- Throwing Dice2590 / 2817
- Graph Paths I2372 / 2565
- Graph Paths II2000 / 2095
- Dice Probability2228 / 2392
- Moving Robots1134 / 1209
- Candy Lottery1760 / 1809
- Inversion Probability561 / 1574
- Stick Game2352 / 2414
- Nim Game I2994 / 3125
- Nim Game II2420 / 2530
- Stair Game1659 / 1822
- Grundy's Game1092 / 1399
- Another Game1254 / 1367
String Algorithms
- Word Combinations3645 / 5532
- String Matching7230 / 10263
- Finding Borders5357 / 5952
- Finding Periods3726 / 4244
- Minimal Rotation1826 / 2948
- Longest Palindrome2740 / 3823
- Required Substring1035 / 1677
- Palindrome Queries1309 / 1564
- Finding Patterns1158 / 1688
- Counting Patterns1057 / 1369
- Pattern Positions908 / 1145
- Distinct Substrings1105 / 1330
- Repeating Substring1162 / 1313
- String Functions1052 / 1113
- Substring Order I808 / 869
- Substring Order II508 / 648
- Substring Distribution693 / 757
Geometry
- Point Location Test4693 / 5388
- Line Segment Intersection2819 / 3682
- Polygon Area3369 / 3613
- Point in Polygon1782 / 2356
- Polygon Lattice Points1573 / 1635
- Minimum Euclidean Distance1326 / 1958
- Convex Hull2296 / 2775
Advanced Techniques
- Meet in the Middle4156 / 6284
- Hamming Distance2207 / 2402
- Beautiful Subgrids1568 / 1759
- Reachable Nodes1563 / 1689
- Reachability Queries1063 / 1272
- Cut and Paste1022 / 1147
- Substring Reversals903 / 986
- Reversals and Sums903 / 989
- Necessary Roads1342 / 1381
- Necessary Cities1247 / 1314
- Eulerian Subgraphs557 / 588
- Monster Game I800 / 885
- Monster Game II719 / 778
- Subarray Squares823 / 968
- Houses and Schools521 / 606
- Knuth Division604 / 689
- Apples and Bananas575 / 634
- One Bit Positions546 / 609
- Signal Processing511 / 556
- New Roads Queries1370 / 1675
- Dynamic Connectivity615 / 703
- Parcel Delivery467 / 532
- Task Assignment477 / 520
- Distinct Routes II377 / 439
Additional Problems
- Shortest Subsequence2121 / 2819
- Counting Bits2506 / 3210
- Swap Game1405 / 1793
- Prüfer Code982 / 1079
- Acyclic Graph Edges1531 / 1631
- Strongly Connected Edges972 / 1068
- Even Outdegree Edges878 / 1026
- Multiplication Table3622 / 4110
- Advertisement2869 / 3053
- Special Substrings647 / 700
- Permutation Inversions700 / 771
- Maximum Xor Subarray1599 / 1755
- Movie Festival Queries706 / 796
- Chess Tournament801 / 914
- Tree Traversals763 / 856
- Network Renovation673 / 889
- Graph Girth2122 / 2472
- Intersection Points1281 / 1386
- Inverse Inversions712 / 746
- Monotone Subsequences476 / 530
- String Reorder544 / 602
- Stack Weights423 / 494
- Pyramid Array530 / 636
- Increasing Subsequence II1623 / 1756
- String Removals695 / 752
- Bit Inversions1652 / 1907
- Xor Pyramid988 / 1259
- Writing Numbers548 / 594
- String Transform349 / 435
- Letter Pair Move Game126 / 185
- Maximum Building I1468 / 1534
- Sorting Methods603 / 645
- Cyclic Array754 / 862
- List of Sums326 / 434
- Increasing Array II562 / 643
- Food Division392 / 464
- Bit Problem1130 / 1214
- Swap Round Sorting311 / 384
- Binary Subsequences177 / 273
- Tree Isomorphism I738 / 856
- Counting Sequences413 / 452
- Critical Cities282 / 432
- School Excursion946 / 1008
- Coin Grid517 / 617
- Robot Path209 / 360
- Programmers and Artists358 / 457
- Course Schedule II1143 / 1622
- Removing Digits II137 / 297
- Coin Arrangement226 / 300
- Counting Bishops244 / 278
- Grid Puzzle I362 / 396
- Grid Puzzle II273 / 308
- Empty String1041 / 1250
- Grid Paths535 / 671
- Bit Substrings255 / 315
- Reversal Sorting236 / 289
- Counting Reorders135 / 208
- Book Shop II708 / 824
- Network Breakdown668 / 711
- Visiting Cities484 / 638
- Missing Coin Sum Queries280 / 375
- Number Grid621 / 746
- Maximum Building II309 / 381
- Filling Trominos151 / 252
- Stick Divisions2650 / 3138
- Coding Company986 / 1261
- Flight Route Requests324 / 394
- Two Stacks Sorting100 / 344
- Tree Isomorphism II605 / 701
- Forbidden Cities504 / 660
- Area of Rectangles740 / 835
- Grid Completion138 / 184
- Creating Offices276 / 356
- Permutations II619 / 708
- Functional Graph Distribution157 / 198
- New Flight Routes228 / 537
- Grid Path Construction71 / 273