Algorithms

Build your algorithmic thinking.Algorithm courses

Learn the concept, understand its prerequisites, then build confidence through practice.

0 / 25courses completed
0 / 513problems solved
Start learning · Big-O Notation
Browse all problems →

Prerequisites guide your preparation; they do not block access to a lesson.

Big-O Notation

Count how much work code performs, then describe how that work grows with the input.

Before this:No prerequisite courses

Concept lesson · No dedicated problem set

Arrays

Learn how indexed storage works, what each array operation costs, and how one safe pass grows into in-place and matrix algorithms.

Before this:Big-O Notation
Practice 38 problems 0 solved
  1. Array Length and EndsEasy
  2. Sum Array ElementsEasy
  3. Count Target OccurrencesEasy
  4. Find Largest ValueEasy
  5. Two Largest Values, Repeats IncludedMedium
  6. Largest FourEasy
  7. Second Largest Distinct ValueEasy
  8. Running SumEasy
  9. Greatest to the RightEasy
  10. Buildings With an Ocean ViewMedium
  11. Product Except SelfMedium
  12. In Place ReversalEasy
  13. Remove ElementEasy
  14. Rotate Array RightMedium
  15. Matrix DimensionsEasy
  16. Matrix Row SumsEasy
  17. Transpose MatrixEasy
  18. Reshape MatrixEasy
  19. Toeplitz MatrixEasy
  20. Main Diagonal SumEasy
  21. Group Cells by DiagonalEasy
  22. Diagonal TraverseMedium
  23. Spiral Matrix TraversalMedium
  24. Generate Spiral MatrixMedium
  25. Rotate Square MatrixMedium
  26. Set Matrix ZeroesMedium
  27. Game of Life In PlaceMedium
  28. Cancel Paired Bit PatternsMedium
  29. Single NumberEasy
  30. Missing NumberEasy
  31. Mark Multiples OnceEasy
  32. Count PrimesMedium
  33. Crush Matching CandiesMedium
  34. Drop CandiesEasy
  35. Candy CrushHard
  36. Compare Partially Rated ProfilesMedium
  37. Predict One Rating from NeighborsEasy
  38. Recommend MoviesMedium

Strings

Treat text as an indexed sequence first, then add immutable output, word boundaries, symmetry, runs, direct search, and grammar one idea at a time.

Before this:Arrays
Practice 21 problems 0 solved
  1. String Length and EndsEasy
  2. Count Character OccurrencesEasy
  3. Build Reversed StringEasy
  4. Reverse Character ArrayEasy
  5. Reverse Each WordEasy
  6. Reverse Word OrderMedium
  7. Longest Common PrefixEasy
  8. Valid PalindromeEasy
  9. Palindrome After One DeletionMedium
  10. Trim Matching EndsMedium
  11. Palindrome from a Common String SplitMedium
  12. Run-Length EncodeEasy
  13. Number StreamEasy
  14. In-Place String CompressionMedium
  15. First Substring MatchEasy
  16. Count Overlapping MatchesEasy
  17. Find the DifferenceEasy
  18. Is SubsequenceEasy
  19. Longest Dictionary Word by Deleting CharactersMedium
  20. String to Integer (atoi)Medium
  21. Valid NumberHard

Explore every section and its bridge exercises in the complete problem browser.