Skip to main content

Section 05 · Stage 2: Master DSA

Problem Solving & Coding Patterns

A repeatable way to solve problems: complexity, recursion and the common patterns behind most coding questions.

What you will be able to do

  • Follow a step-by-step method to go from a problem statement to working, tested code
  • Work out the time and space complexity of your code and pick a target from the input limits
  • Check your own solutions with hand-made test cases, a brute-force version and simple JUnit tests
  • Recognise and apply two pointers, sliding window, prefix sums, hashing and binary search
  • Write recursive and backtracking solutions and trace them on paper
  • Use bit tricks and basic number theory that coding rounds expect

What you will learn

  1. 5.1How to Approach a Problem7 lessons
  2. 5.2Time & Space Complexity8 lessons
  3. 5.3Testing Your Solutions7 lessons
  4. 5.4Array & String Techniques10 lessons
  5. 5.5Two Pointers9 lessons
  6. 5.6Sliding Window9 lessons
  7. 5.7Prefix Sums & Hashing9 lessons
  8. 5.9Recursion in Depth8 lessons
  9. 5.10Backtracking8 lessons
  10. 5.11Bit Manipulation & Math Basics10 lessons
  11. 5.12Pattern Practice6 lessons