Skip to content

kantuni/CSES

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Solutions to CSES Problems

Introductory Problems

  1. Weird Algorithm [source] [solution]
  2. Missing Number [source] [solution]
  3. Repetitions [source] [solution]
  4. Increasing Array [source] [solution]
  5. Permutations [source] [solution]
  6. Number Spiral [source] [solution]
  7. Two Knights [source] [solution]
  8. Two Sets [source] [solution]
  9. Bit Strings [source] [solution]
  10. Trailing Zeros [source] [solution]
  11. Coin Piles [source] [solution]
  12. Palindrome Reorder [source] [solution]
  13. Gray Code [source] [solution]
  14. Tower of Hanoi [source] [solution]
  15. Creating Strings [source] [solution]
  16. Apple Division [source] [solution]
  17. Chessboard and Queens [source] [solution]
  18. Digit Queries [source] [solution]
  19. Grid Paths [source] [solution]

Sorting and Searching

  1. Distinct Numbers [source] [solution]
  2. Apartments [source] [solution]
  3. Ferris Wheel [source] [solution]
  4. Concert Tickets [source] [solution]
  5. Restaurant Customers [source] [solution]
  6. Movie Festival [source] [solution]
  7. Sum of Two Values [source] [solution]
  8. Maximum Subarray Sum [source] [solution]
  9. Stick Lengths [source] [solution]
  10. Missing Coin Sum [source] [solution]
  11. Collecting Numbers [source] [solution]
  12. Collecting Numbers II [source] [solution]
  13. Playlist [source] [solution]
  14. Towers [source] [solution]
  15. Traffic Lights [source] [solution]
  16. Josephus Problem I [source] [solution]
  17. Josephus Problem II [source] [solution]
  18. Nested Ranges Check [source] [solution]
  19. Nested Ranges Count [source] [solution]
  20. Room Allocation [source] [solution]
  21. Factory Machines [source] [solution]
  22. Tasks and Deadlines [source] [solution]
  23. Reading Books [source] [solution]
  24. Sum of Three Values [source] [solution]
  25. Sum of Four Values [source] [solution]
  26. Nearest Smaller Values [source] [solution]
  27. Subarray Sums I [source] [solution]
  28. Subarray Sums II [source] [solution]
  29. Subarray Divisibility [source] [solution]
  30. Subarray Distinct Values [source] [solution]
  31. Array Division [source] [solution]
  32. Sliding Median [source] [solution]
  33. Sliding Cost [source] [solution]
  34. Movie Festival II [source] [solution]

Problems solved: 53