Skip to main content

Study Plan

The 4-Week Coding Interview Plan

A pattern-first plan that takes you from Arrays to Mock Interviews in 28 days. Target: 65 problems, all filtered by importance — no noise.

Week 1 — Foundations

Arrays, strings, and the patterns that crack 40% of Easy questions.

TIP

Spend 30 min on each problem. If you cannot solve it, read the approach — then implement from scratch the next day without looking.

Days Patterns
Mon – Tue
Wed – Thu
Fri – Sat
Sun Rest & Review
Weekly target: 15 problems

Week 2 — Core Data Structures

Stacks, heaps, and linked lists — the backbone of Medium-difficulty interviews.

TIP

Start timing yourself this week. Medium problems should take under 25 minutes. If a problem takes longer, note why and add it to your review queue.

Days Patterns
Mon – Tue
Wed
Thu – Fri
Sat
Sun Rest & Review
Weekly target: 20 problems

Week 3 — Trees, Graphs & DP

The hardest week. Slow down on DP — correctness beats speed.

TIP

For every DP problem: write the state definition in plain English before writing code. If you cannot explain dp[i] in one sentence, redefine the state.

Days Patterns
Mon – Tue
Wed
Thu – Fri
Sat
Sun Rest & Review
Weekly target: 20 problems

Week 4 — Review & Mock Interviews

Polish, speed, and communication — the final mile.

TIP

Communication is 50% of the score. Narrate your thought process out loud: "I'm reaching for a hash map here because..." before you write a single line.

Days Patterns
Mon Rest & Review
Tue – Wed
Thu Rest & Review
Fri Rest & Review
Sat Rest & Review
Sun Rest & Review
Weekly target: 10 problems

Must-Know Problems

High-frequency problems that appear most often in interviews. Solve these before anything else.

All problems →
# Problem Difficulty Solution Link
01 Longest Substring Without Repeating Characters
#String #Hash Map #Sliding Window
Medium Solution
02 Minimum Window Substring
#String #Hash Map #Sliding Window
Hard Solution
03 Two Sum II - Input Array Is Sorted
#Array #Two Pointers #Binary Search
Medium Solution
04 3Sum
#Array #Two Pointers #Sorting
Medium Solution
05 Container With Most Water
#Array #Two Pointers #Greedy
Medium Solution
06 Trapping Rain Water
#Array #Two Pointers #Stack
Hard Solution
07 Valid Palindrome
#String #Two Pointers
Easy Solution
08 Remove Duplicates from Sorted Array
#Array #Two Pointers
Easy Solution
09 Binary Search
#Array #Binary Search
Easy Solution
10 Search in Rotated Sorted Array
#Array #Binary Search
Medium Solution
11 Find Minimum in Rotated Sorted Array
#Array #Binary Search
Medium Solution
12 Subarray Sum Equals K
#Array #Hash Map #Prefix Sum
Medium Solution
13 Product of Array Except Self
#Array #Prefix Product
Medium Solution
14 Two Sum
#Array #Hash Map
Easy Solution
15 Group Anagrams
#String #Hash Map #Sorting
Medium Solution
16 Top K Frequent Elements
#Array #Hash Map #Heap
Medium Solution
17 Valid Anagram
#String #Hash Map #Sorting
Easy Solution
18 Longest Consecutive Sequence
#Array #Hash Set
Medium Solution
19 Valid Parentheses
#String #Stack
Easy Solution
20 Min Stack
#Stack #Design
Medium Solution
🏛️ Full CS Curriculum

52-Week CS Fundamentals Comprehensive Masterplan

Coding questions only account for half of tier-1 evaluations. This structured 52-week masterplan ensures complete mastery across Operating Systems, DBMS, Computer Networks, and OOP with rigorous numerical drilling and articulation practice.

Phase 0 Weeks 1-2
Understand the landscape
📖 What to Learn:

What each of the four subjects covers, how they connect, and which companies weight which.

✍️ What to Practise:

Read the Skills Matrix end to end. Mark what you already know honestly.

🏁 Milestone / Proof: You know what you do not know, which is most of the battle.
Phase 1 Weeks 2-6
Operating Systems: processes and scheduling
📖 What to Learn:

Kernel, system calls, process versus thread, states, context switching, IPC, all scheduling algorithms.

✍️ What to Practise:

Solve 40 scheduling numericals. Draw the process state diagram from memory five times.

🏁 Milestone / Proof: You can explain process versus thread in 60 seconds with an example.
Phase 1 Weeks 6-9
Operating Systems: concurrency and memory
📖 What to Learn:

Race conditions, mutex, semaphore, deadlock and its four conditions, Banker's, paging, virtual memory, page replacement, thrashing.

✍️ What to Practise:

Solve 40 page replacement and Banker's numericals. Write producer-consumer with semaphores.

🏁 Milestone / Proof: You can state the four deadlock conditions without hesitating.
Phase 2 Weeks 9-13
DBMS: modelling and normalisation
📖 What to Learn:

ER model, keys, functional dependencies, 1NF through BCNF, decomposition, lossless join.

✍️ What to Practise:

Normalise 20 tables to BCNF showing every step. Draw 10 ER diagrams from written scenarios.

🏁 Milestone / Proof: You can normalise any table and justify each step.
Phase 2 Weeks 13-17
DBMS: SQL and transactions
📖 What to Learn:

All join types, subqueries, aggregates, window functions, ACID, isolation levels, locking, serialisability, indexing.

✍️ What to Practise:

Solve 100 SQL problems. Work through 20 serialisability and isolation questions.

🏁 Milestone / Proof: You can write a window function and explain ACID with a real example.
Phase 3 Weeks 17-21
Computer Networks: models and lower layers
📖 What to Learn:

OSI and TCP/IP, all seven layers, devices per layer, error detection, flow control, switching, MAC and ARP.

✍️ What to Practise:

Recite the seven layers with protocols daily until automatic. Solve 30 CRC and sliding window problems.

🏁 Milestone / Proof: You can name all seven layers, in order, with protocols and devices for each.
Phase 3 Weeks 21-25
Computer Networks: IP, TCP and applications
📖 What to Learn:

IPv4, subnetting, CIDR, routing, NAT, TCP versus UDP, handshake, congestion control, DNS, HTTP, TLS.

✍️ What to Practise:

Solve 50 subnetting numericals. Walk through the full URL-to-page path ten times, out loud.

🏁 Milestone / Proof: Subnetting is automatic and you can explain the handshake unprompted.
Phase 4 Weeks 25-29
OOP: concepts and design
📖 What to Learn:

Four pillars, inheritance types, polymorphism, abstract versus interface, SOLID, patterns, coupling and cohesion.

✍️ What to Practise:

Implement the four pillars in your language. Write singleton, factory, observer and strategy from scratch.

🏁 Milestone / Proof: You can explain each pillar with an example from your own project.
Phase 4 Weeks 29-32
Connecting theory to practice
📖 What to Learn:

Where these concepts appear in real code: threads in your backend, indexes in your queries, TCP in your API calls.

✍️ What to Practise:

For every major concept, find where it appears in a project you have built. Write it down.

🏁 Milestone / Proof: Every theory answer you give can be grounded in your own work.
Phase 5 Weeks 32-36
Numerical drilling
📖 What to Learn:

Scheduling, page replacement, disk scheduling, subnetting, CRC, normalisation, serialisability.

✍️ What to Practise:

Two hours weekly on timed numericals only. Written rounds are mostly numericals under time pressure.

🏁 Milestone / Proof: You solve standard numericals faster than the time allocated.
Phase 5 Weeks 36-40
The Most Asked sheet
📖 What to Learn:

Work through every question on the Most Asked sheet until each answer is automatic.

✍️ What to Practise:

Answer each question out loud, timed, without notes. Record yourself for the ones you fumble.

🏁 Milestone / Proof: You can answer any of the top 80 questions in under 90 seconds.
Phase 6 Weeks 40-44
Mock interviews and articulation
📖 What to Learn:

Explaining clearly, giving examples, handling follow-ups, admitting what you do not know gracefully.

✍️ What to Practise:

Two mocks weekly focused only on CS core. Have someone interrupt you with follow-ups.

🏁 Milestone / Proof: You explain concisely rather than reciting everything you know.
Phase 6 Weeks 44-48
Company-specific preparation
📖 What to Learn:

Which subjects your target companies weight, their written test format, their past question patterns.

✍️ What to Practise:

Study the Where It Is Asked sheet. Solve past papers for your target companies.

🏁 Milestone / Proof: You know exactly what your target company will ask and in what format.
Phase 6 Weeks 48-52
Revision and retention
📖 What to Learn:

Spaced revision of everything. CS core fades fast if untouched for a month.

✍️ What to Practise:

Weekly revision of one subject in rotation. Re-answer the Most Asked sheet monthly.

🏁 Milestone / Proof: You can walk into any interview cold and still answer confidently.

Ready to start?

Open Week 1 — Sliding Window is the best first pattern to lock in.

Buy me a coffee
Daily Practice
0/0