arrow_back अभ्यास
Phase 4 • Week 17

Monotonic Stack, JPA & Flyway, micrograd, CN Network Layer

Weekly MUST Budget Standard
27.0h / 27.0h cap
Hour Calibration
actual hours logged
Rule: slippage > 1.25x triggers Scope-Cut Rung 2
Week Execution 0%
0/ 16 tasks 0.0h
target

Week Objective & Target Output

Target Output
January 25 – January 31, 2027 — Focus: Monotonic Stack I; Monotonic Stack II (Hard FAQs); Monotonic Queue; Build micrograd from Scratch (Part 1: The Engine); Spring Data JPA, PostgreSQL, Flyway & Docker Compose.
Weeks: W16 W17 Active W18 W19 W20

MUST — Critical Path

10 Tasks • ~27.0h
DSA (Java) 5 tasks
DSA Monotonic Stack I 3 problems
Next Greater Element I & II, Next Smaller Element, Number of NGEs to the right. TUF+ A2Z Step 9.3
3.0h
DSA Monotonic Stack II (Hard FAQs) 5 problems
Trapping Rain Water, Largest Rectangle in Histogram, Maximal Rectangle, Asteroid Collision, Sum of Subarray Minimums. TUF+ A2Z Step 9.3
4.0h
DSA Monotonic Queue 2 problems LC #239
Sliding Window Maximum (LC #239) using Deque, Maximum of Minimums for every window size. Extension of TUF+ A2Z Step 9.3
1.5h
DSA DSA Transfer: No-Hint Timed Monotonic Stack Set 2 problems LC #
Sit 2 unseen Monotonic Stack problems you have never attempted (pick from the LeetCode topic tag, NeetCode “similar questions” or a company list; never a problem named in any learning task), at least 72 h after the learning task — move the set to the first half of next week if needed. Format: 25 min per problem (35 min for a Hard), including 5 min for edge cases and a dry run; no hints, no AI. Pass bar: ≥ 1/2 solved inside the time box; on a miss, log the miss reason in the Journal and re-sit a fresh pair within 7 days.
1.5h
DSA DSA Daily Quota (Week 17) 4 problems
Solve 4 new problems from NeetCode 150 — Heap / Priority Queue; time-box each at 25 min before any hint (2.5h includes editorial on misses), then log pattern and miss reason in the Journal. Never repeat a problem already in the ledger.
2.5h
Competitive Programming 1 tasks
CP Contest & Upsolving (Week 17) LC #
LeetCode Weekly Contest (+ Codeforces Div.2/3 when it fits) and mandatory upsolving within 48 h.
2.5h
Backend (Spring Boot) 1 tasks
SPRING Spring Data JPA, PostgreSQL, Flyway & Docker Compose
Entities and repositories, relationships and the N+1 problem, transactions, PostgreSQL via Docker Compose, Flyway migrations, pagination, and one deliberate index on a hot query. Capstone milestone 2: persist applications and companies in PostgreSQL. Budget is 8h: reproduce and fix an N+1 query, demonstrate @Transactional propagation, write two Flyway migrations, and debug Compose networking.
8.0h
Core CS (CN) 1 tasks
CN CN Network Layer
IPv4 vs IPv6, IP addressing, Subnetting (CIDR, subnet masks, usable hosts), ARP, DHCP, NAT, ICMP, Routing protocols overview (Distance Vector vs Link State). TUF+ CN Starts with a 20-minute OSI/TCP-IP layer map (the W16 physical-layer task is SHOULD).
2.5h
Recruiting Pipeline 1 tasks
PIPELINE Recruiting Pipeline Weekly (Week 17)
Calendar check against the Opportunity Calendar (Architecture §16); send ≥ 3 personalised outreach messages (alumni, seniors, recruiters) and log each in the Tracker; follow up open threads; ask for a referral 1–2 days after any OA invite; apply within 72 h of any new posting on the Target-40.
1.0h
Aptitude 1 tasks
APT Aptitude Timed Drill (Week 17)
25-minute timed mixed set (quant, logical reasoning, data interpretation) from IndiaBix / PrepInsta-style banks; log accuracy and seconds per question in the Tracker. Target: ≥ 70% accuracy by W28.
0.5h

SHOULD — Depth & Mastery

(5 Tasks)
Execute when MUST pace is on track
CORE Aditya Verma Sliding Window
Watch Aditya Verma's sliding window playlist for variable-size window patterns.
2.0h
APT Quant M17
Data Interpretation Part 2 (Pie Charts & Line Graphs).
1.5h
CP Sorting & Searching (Sliding Window)
Solve 3–4 problems from CSES Sorting & Searching (e.g. Subarray Sums I, Subarray Sums II, Nearest Smaller Values) to reinforce two-pointer and sliding window patterns.
2.0h
CORE Company Research Database Updates (Week 17)
Add Glassdoor/LeetCode interview experience notes for 3 target companies.
1.5h
CORE Problem-Solving Journal Review
Re-solve 3 tagged sliding window and greedy problems.
2.0h

STRETCH — If Ahead

(1 Tasks)
Bonus reps & competitive advantage
CORE Subnetting Speed Drill
Practice 10 subnetting calculations on subnettingpractice.com.
1.5h
verified_user

Weekly Clearance Gate

0 / 7 Cleared
[T: Monotonic Stack I] DSA: Have you completed “Monotonic Stack I” (Next Greater Element I & II, Next Smaller Element, Number of NGEs to the right)?
Evidence: one problem from this task re-solved cold in ≤ 25 min a week later, logged in the Journal.
[T: Monotonic Stack II (Hard FAQs)] Can you solve "Trapping Rain Water" and "Largest Rectangle in Histogram" in Java from memory?
Evidence: one problem from this task re-solved cold in ≤ 25 min a week later, logged in the Journal.
[T: Spring Data JPA, PostgreSQL, Flyway & Docker Compose] Have you completed “Spring Data JPA, PostgreSQL, Flyway & Docker Compose” (Entities and repositories, relationships and the N+1 problem, transactions, PostgreSQL…)?
Evidence: GitHub PR link with passing CI run.
[T: CN Network Layer] CN: Have you completed “CN Network Layer” (IPv4 vs IPv6, IP addressing, Subnetting (CIDR, subnet masks, usable hosts), ARP, DHCP,…)?
Evidence: written answers in your notes repo.
[T: Recruiting Pipeline Weekly (Week 17)] Recruiting Pipeline: Have you completed “Recruiting Pipeline Weekly (Week 17)” (Calendar check against the Opportunity Calendar (Architecture §16); send ≥ 3 personalised…)?
Evidence: Tracker log shows ≥ 3 personalised outreach messages this week.
[T: DSA Transfer: No-Hint Timed Monotonic Stack Set] DSA: Did you pass “DSA Transfer: No-Hint Timed Monotonic Stack Set” — 2 unseen Monotonic Stack problems, 25 min per problem, no hints, pass bar ≥ 1/2 solved?
Evidence: timed result and miss reasons logged in the Journal.
Health & Guardrails: 1 full rest day taken every 2 weeks?
tune

If Behind / Life Interruption Protocol

Triage Rule

When academic exams spike or weekly time slips, execute this contingency plan:

shield Protect (Non-Negotiable)
Monotonic Stack I + Build micrograd from Scratch (Part 1: The Engine) + Recruiting Pipeline Weekly (Week 17)
schedule Defer (Safe to Shift)
Aditya Verma Sliding Window → weekend; Aptitude: Quant M17 → Week 18
edit_note

Week 17 Technical Notes & Journal

#LeetCode #Java #DSA #Week17