Algorithms

Build your algorithmic thinking.

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

0 / 25courses completed
0 / 474problems 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 21 problems 0 solved
  1. Array Length and EndsEasy
  2. Sum Array ElementsEasy
  3. Count Target OccurrencesEasy
  4. Find Largest ValueEasy
  5. Second Largest Distinct ValueEasy
  6. Running SumEasy
  7. Greatest to the RightEasy
  8. Product Except SelfMedium
  9. In Place ReversalEasy
  10. Remove ElementEasy
  11. Rotate Array RightMedium
  12. Matrix DimensionsEasy
  13. Matrix Row SumsEasy
  14. Transpose MatrixEasy
  15. Toeplitz MatrixEasy
  16. Main Diagonal SumEasy
  17. Spiral Matrix TraversalMedium
  18. Rotate Square MatrixMedium
  19. Set Matrix ZeroesMedium
  20. Game of Life In PlaceMedium
  21. 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 18 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. Valid PalindromeEasy
  8. Palindrome After One DeletionMedium
  9. Longest Common PrefixEasy
  10. Run-Length EncodeEasy
  11. In-Place String CompressionMedium
  12. First Substring MatchEasy
  13. Count Overlapping MatchesEasy
  14. Find the DifferenceEasy
  15. Is SubsequenceEasy
  16. Trim Matching EndsMedium
  17. String to Integer (atoi)Medium
  18. Valid NumberHard

Additional exercises, including Miscellaneous, remain available in the complete problem browser.