LeetCode

Free + paid optionsDSA & Interview Prepleetcode.com

Best for: Practising interview problems

Overview

The best-known site for coding interview problems, sorted by topic and difficulty. Premium unlocks company-tagged questions and more.

Strengths

  • Huge problem set
  • Discussions with many solutions

Drawbacks

  • Easy to grind without learning the patterns

Alternatives to LeetCode

See all 9 →

CP-Algorithms

Going deeper than interview level
Free

Free reference of algorithms and data structures with proofs and C++ code: graphs, strings, number theory, dynamic programming.

Big-O Cheat Sheet

Revising complexity before an interview
Free

One page with the time and space complexity of common data structures and sorting algorithms.

System Design Primer

Learning system design for free
Free

Free, widely shared GitHub guide to designing large systems: scalability, caching, databases and load balancing, with worked interview questions and Anki flashcards.