{
  "schema_version": 1,
  "source_commit": "3965a8dd",
  "levels": [
    {
      "id": "beginner",
      "title": "Beginner / Foundation",
      "audience": "Students, first-time coders, 0-1 years of experience",
      "weeks": 12,
      "hours_per_week": 9,
      "doc": "roadmaps/01-beginner-foundation/README.md",
      "milestones": [
        {
          "id": "b1",
          "title": "Language basics",
          "weeks": [
            1,
            2
          ],
          "outcomes": [
            "Write loops, functions and use list / map types without help"
          ],
          "resources": [
            "roadmaps/01-beginner-foundation/language-basics.md",
            "content/cs-fundamentals/mcqs/README.md"
          ],
          "problems": [],
          "projects": []
        },
        {
          "id": "b2",
          "title": "Complexity",
          "weeks": [
            3,
            3
          ],
          "outcomes": [
            "State the time and space complexity of code you write"
          ],
          "resources": [
            "roadmaps/01-beginner-foundation/complexity-visual-guide.md"
          ],
          "problems": [],
          "projects": []
        },
        {
          "id": "b3",
          "title": "Recursion",
          "weeks": [
            4,
            4
          ],
          "outcomes": [
            "Write factorial, power and all-subsets recursively and draw their call trees"
          ],
          "resources": [
            "roadmaps/01-beginner-foundation/recursion-intuition.md",
            "content/dsa/foundation/data-structures/03-recursion"
          ],
          "problems": [],
          "projects": []
        },
        {
          "id": "b4",
          "title": "Arrays and strings",
          "weeks": [
            5,
            5
          ],
          "outcomes": [
            "Solve an unseen easy array problem in 20 minutes"
          ],
          "resources": [
            "content/dsa/foundation/data-structures/01-array",
            "content/dsa/foundation/data-structures/04-strings"
          ],
          "problems": [
            "two-sum",
            "best-time-to-buy-and-sell-stock",
            "maximum-subarray",
            "sort-colors"
          ],
          "projects": []
        },
        {
          "id": "b5",
          "title": "Searching and sorting",
          "weeks": [
            6,
            6
          ],
          "outcomes": [
            "Write binary search with no off-by-one errors"
          ],
          "resources": [
            "content/dsa/foundation/algorithms/01-searching-algorithms/searching-algorithms-explanations.md",
            "content/dsa/foundation/algorithms/02-sorting-algorithms/sorting-algorithms-explanations.md"
          ],
          "problems": [
            "binary-search"
          ],
          "projects": []
        },
        {
          "id": "b6",
          "title": "Hashing",
          "weeks": [
            7,
            7
          ],
          "outcomes": [
            "Reach for a hash map when a problem asks: have I seen this before?"
          ],
          "resources": [
            "content/dsa/foundation/data-structures/05-hashing"
          ],
          "problems": [
            "contains-duplicate",
            "valid-anagram"
          ],
          "projects": []
        },
        {
          "id": "b7",
          "title": "Linked lists, stacks and queues",
          "weeks": [
            8,
            8
          ],
          "outcomes": [
            "Reverse a linked list on paper with three pointers"
          ],
          "resources": [
            "content/dsa/foundation/data-structures/06-linked-list",
            "content/dsa/foundation/data-structures/09-stack",
            "content/dsa/foundation/data-structures/10-queue"
          ],
          "problems": [
            "reverse-linked-list",
            "merge-two-sorted-lists",
            "valid-parentheses"
          ],
          "projects": []
        },
        {
          "id": "b8",
          "title": "Trees and a first look at dynamic programming",
          "weeks": [
            9,
            9
          ],
          "outcomes": [
            "Write the three depth-first traversals; explain why Climbing Stairs is Fibonacci"
          ],
          "resources": [
            "content/dsa/foundation/data-structures/12-tree",
            "content/dsa/foundation/data-structures/13-binary-search-tree"
          ],
          "problems": [
            "maximum-depth-of-binary-tree",
            "invert-binary-tree",
            "climbing-stairs"
          ],
          "projects": []
        },
        {
          "id": "b9",
          "title": "Git and GitHub",
          "weeks": [
            10,
            10
          ],
          "outcomes": [
            "Your work is on GitHub with meaningful commits and one merged pull request"
          ],
          "resources": [
            "roadmaps/01-beginner-foundation/git-basics.md"
          ],
          "problems": [],
          "projects": []
        },
        {
          "id": "b10",
          "title": "First portfolio projects",
          "weeks": [
            11,
            12
          ],
          "outcomes": [
            "Two finished projects, each with a README and run instructions that work from a clean clone"
          ],
          "resources": [
            "roadmaps/01-beginner-foundation/first-portfolio-projects.md"
          ],
          "projects": [
            "todo-list-web",
            "desktop-notes-app"
          ],
          "problems": []
        }
      ],
      "exit_criteria": [
        "Solve an unseen easy problem in about 20 minutes and explain its complexity",
        "Implement binary search, an O(n log n) sort, a linked-list reversal, a bracket matcher and a tree traversal from memory",
        "Solve every beginner flagship problem without looking at the solution",
        "Show two projects on GitHub"
      ]
    },
    {
      "id": "intermediate",
      "title": "Intermediate / Job-ready SDE",
      "audience": "SDE-1 and SDE-2 candidates, 1-3 years of experience",
      "weeks": 14,
      "hours_per_week": 11,
      "doc": "roadmaps/02-intermediate-sde/README.md",
      "milestones": [
        {
          "id": "i1",
          "title": "Hashing, prefix and suffix",
          "weeks": [
            1,
            1
          ],
          "outcomes": [
            "Recognise frequency-count and prefix/suffix problems on sight"
          ],
          "resources": [
            "content/dsa/patterns/README.md",
            "content/dsa/foundation/data-structures/05-hashing"
          ],
          "problems": [
            "group-anagrams",
            "top-k-frequent-elements",
            "product-of-array-except-self"
          ],
          "projects": []
        },
        {
          "id": "i2",
          "title": "Two pointers and sliding window",
          "weeks": [
            2,
            2
          ],
          "outcomes": [
            "Choose between inward pointers and a growing/shrinking window"
          ],
          "resources": [
            "content/dsa/patterns/README.md"
          ],
          "problems": [
            "three-sum",
            "container-with-most-water",
            "longest-substring-without-repeating-characters"
          ],
          "projects": []
        },
        {
          "id": "i3",
          "title": "Binary search variants",
          "weeks": [
            3,
            3
          ],
          "outcomes": [
            "Write binary search on rotated arrays and on a monotonic answer space"
          ],
          "resources": [
            "content/dsa/foundation/algorithms/01-searching-algorithms"
          ],
          "problems": [
            "search-in-rotated-sorted-array",
            "find-minimum-in-rotated-sorted-array"
          ],
          "projects": []
        },
        {
          "id": "i4",
          "title": "Intervals, linked lists, stacks and heaps",
          "weeks": [
            4,
            4
          ],
          "outcomes": [
            "Sort-then-sweep for intervals; pointer rewiring with a dummy head"
          ],
          "resources": [
            "content/dsa/foundation/data-structures/14-heap",
            "content/dsa/foundation/data-structures/09-stack"
          ],
          "problems": [
            "merge-intervals"
          ],
          "projects": []
        },
        {
          "id": "i5",
          "title": "Trees and graphs",
          "weeks": [
            5,
            5
          ],
          "outcomes": [
            "BFS, DFS and topological sort with cycle detection"
          ],
          "resources": [
            "content/dsa/foundation/data-structures/12-tree",
            "content/dsa/foundation/data-structures/15-graph"
          ],
          "problems": [
            "number-of-islands",
            "course-schedule"
          ],
          "projects": []
        },
        {
          "id": "i6",
          "title": "Dynamic programming and backtracking",
          "weeks": [
            6,
            6
          ],
          "outcomes": [
            "Define a state, write the recurrence, then shrink the memory"
          ],
          "resources": [
            "content/dsa/foundation/algorithms/07-dynamic-programming",
            "content/dsa/foundation/algorithms/09-backtracking"
          ],
          "problems": [
            "house-robber",
            "coin-change",
            "longest-increasing-subsequence",
            "word-break",
            "longest-palindromic-substring"
          ],
          "projects": []
        },
        {
          "id": "i7",
          "title": "One sheet and timed practice",
          "weeks": [
            7,
            9
          ],
          "outcomes": [
            "Two unseen medium problems in 60 minutes, three sessions in a row"
          ],
          "resources": [
            "content/dsa/sheets/blind-75-neetcode-150/README.md",
            "content/dsa/sheets/striver-sde-sheet/README.md",
            "content/dsa/sheets/love-babbar-450/README.md"
          ],
          "problems": [],
          "projects": []
        },
        {
          "id": "i8",
          "title": "CS fundamentals",
          "weeks": [
            10,
            11
          ],
          "outcomes": [
            "Answer the Top 25 questions of all four subjects without notes"
          ],
          "resources": [
            "content/cs-fundamentals/operating-systems/README.md",
            "content/cs-fundamentals/dbms-and-sql/README.md",
            "content/cs-fundamentals/dbms-and-sql/sql/practice/README.md",
            "content/cs-fundamentals/computer-networks/README.md",
            "content/cs-fundamentals/oops-and-concurrency/README.md"
          ],
          "problems": [],
          "projects": []
        },
        {
          "id": "i9",
          "title": "LLD and machine coding",
          "weeks": [
            12,
            13
          ],
          "outcomes": [
            "Design and code any of the five LLD problems in 75 minutes with passing tests"
          ],
          "resources": [
            "content/system-design/lld-machine-coding/README.md",
            "content/system-design/lld-machine-coding/lru-cache/README.md",
            "content/system-design/lld-machine-coding/parking-lot/README.md",
            "content/system-design/lld-machine-coding/rate-limiter/README.md",
            "content/system-design/lld-machine-coding/splitwise/README.md",
            "content/system-design/lld-machine-coding/elevator/README.md"
          ],
          "problems": [],
          "projects": []
        },
        {
          "id": "i10",
          "title": "Project, behavioral and mock interviews",
          "weeks": [
            14,
            14
          ],
          "outcomes": [
            "Explain one project end to end; tell 8 prepared stories"
          ],
          "resources": [
            "roadmaps/02-intermediate-sde/project-blueprints.md",
            "content/behavioral-and-career/star-and-carl-frameworks.md",
            "content/behavioral-and-career/question-bank.md",
            "content/behavioral-and-career/resume-ats-guide.md"
          ],
          "projects": [
            "url-shortener",
            "offline-expense-tracker",
            "crowdfunding-contract",
            "sensor-dashboard"
          ],
          "problems": []
        }
      ],
      "exit_criteria": [
        "Two unseen medium problems in 60 minutes with correct complexity analysis, three sessions in a row",
        "One sheet finished, every problem re-solved at least once",
        "Top 25 questions for all four CS subjects answered without notes",
        "Any of the five LLD designs coded in 75 minutes with passing tests",
        "One project explained end to end",
        "Eight prepared behavioral stories"
      ]
    },
    {
      "id": "experienced",
      "title": "Experienced / Senior / AI engineering",
      "audience": "SDE-3, senior, staff and AI/ML engineers, 3-8+ years of experience",
      "weeks": 10,
      "hours_per_week": 9,
      "doc": "roadmaps/03-experienced-senior-ai/README.md",
      "milestones": [
        {
          "id": "e1",
          "title": "Trade-off foundations",
          "weeks": [
            1,
            2
          ],
          "outcomes": [
            "Reproduce each trade-off matrix and say when each option is the wrong choice"
          ],
          "resources": [
            "content/system-design/hld-distributed-systems/trade-off-matrices.md",
            "content/system-design/README.md"
          ],
          "problems": [],
          "projects": []
        },
        {
          "id": "e2",
          "title": "HLD: identifiers, caching and counters",
          "weeks": [
            3,
            3
          ],
          "outcomes": [
            "ID generation, caching and atomic counters under concurrency"
          ],
          "resources": [
            "content/system-design/hld-distributed-systems/case-studies/url-shortener.md",
            "content/system-design/hld-distributed-systems/case-studies/distributed-rate-limiter.md"
          ],
          "problems": [],
          "projects": []
        },
        {
          "id": "e3",
          "title": "HLD: fan-out, queues and low-latency reads",
          "weeks": [
            4,
            4
          ],
          "outcomes": [
            "Fan-out on write versus read; retries and delivery guarantees"
          ],
          "resources": [
            "content/system-design/hld-distributed-systems/case-studies/news-feed.md",
            "content/system-design/hld-distributed-systems/case-studies/notification-system.md",
            "content/system-design/hld-distributed-systems/case-studies/typeahead-autocomplete.md"
          ],
          "problems": [],
          "projects": []
        },
        {
          "id": "e4",
          "title": "HLD: messaging and geospatial matching",
          "weeks": [
            5,
            5
          ],
          "outcomes": [
            "Ordering and delivery guarantees; geospatial indexing"
          ],
          "resources": [
            "content/system-design/hld-distributed-systems/case-studies/whatsapp-messaging.md",
            "content/system-design/hld-distributed-systems/case-studies/uber-ride-hailing.md"
          ],
          "problems": [],
          "projects": []
        },
        {
          "id": "e5",
          "title": "HLD: media pipelines, ledgers and crawling",
          "weeks": [
            6,
            6
          ],
          "outcomes": [
            "Transcoding and CDNs; idempotency and double-entry invariants; politeness and deduplication"
          ],
          "resources": [
            "content/system-design/hld-distributed-systems/case-studies/youtube-video-streaming.md",
            "content/system-design/hld-distributed-systems/case-studies/payment-ledger.md",
            "content/system-design/hld-distributed-systems/case-studies/web-crawler.md"
          ],
          "problems": [],
          "projects": []
        },
        {
          "id": "e6",
          "title": "AI / LLM system design",
          "weeks": [
            7,
            8
          ],
          "outcomes": [
            "Design a RAG system and explain how to measure and improve its quality"
          ],
          "resources": [
            "content/system-design/ai-llm-system-design/production-rag.md",
            "content/system-design/ai-llm-system-design/hybrid-search.md",
            "content/system-design/ai-llm-system-design/llm-serving-and-inference.md",
            "content/system-design/ai-llm-system-design/evals-and-guardrails.md",
            "content/system-design/ai-llm-system-design/agentic-sandboxes.md"
          ],
          "projects": [
            "rag-document-qa"
          ],
          "problems": []
        },
        {
          "id": "e7",
          "title": "Leadership, behavioral and negotiation",
          "weeks": [
            9,
            10
          ],
          "outcomes": [
            "Ten stories with measurable outcomes, at least four at team or cross-team scope"
          ],
          "resources": [
            "content/behavioral-and-career/star-and-carl-frameworks.md",
            "content/behavioral-and-career/amazon-leadership-principles.md",
            "content/behavioral-and-career/company-rubrics.md",
            "content/behavioral-and-career/salary-negotiation-guide.md"
          ],
          "problems": [
            "trapping-rain-water",
            "median-of-two-sorted-arrays"
          ],
          "projects": []
        }
      ],
      "exit_criteria": [
        "Present requirements, estimation, architecture and two deep dives for any case study in 40 minutes without notes",
        "Say what fails when each named component is down and how the system degrades",
        "Design a RAG system and its evaluation",
        "Ten behavioral stories, four at team or cross-team scope",
        "Know your target compensation range and your response to the first number"
      ]
    }
  ]
}
