Skip to lesson

A Revision Plan for the Last Week Before Interviews

The last week before interviews is when learners panic and start new topics. Interviewers can only test what you can explain clearly, so this week is for revising and saying answers aloud.

A seven-day revision plan

A revision plan gives each of the last seven days one main topic, a practice block and a fixed end time, so you finish with a mock and a light last day instead of cramming.

Each day has the same shape: 2 hours on the day's topic out loud, 1 hour of mixed practice, and 30 minutes updating that topic's one-page sheet. Example 1 prints the plan with real dates.

Example 1 · Print the seven-day plan with dates

RevisionPlanDemo.javaJava
import java.time.LocalDate;import java.time.format.TextStyle;import java.util.List;import java.util.Locale;
public class RevisionPlanDemo {    public static void main(String[] args) {        List<String> topics = List.of(                "Core Java: JVM, String, static/final, exceptions",                "OOP: pillars, overriding, interfaces, equals/hashCode",                "Collections: List, Set, Map internals, Comparator",                "Output puzzles and find-the-bug",                "DSA patterns: two pointers, window, hashing, BFS/DFS",                "Your project: pitch, walk-through, 3 STAR stories",                "Full mock round, then light revision of sheets");
        LocalDate start = LocalDate.of(2026, 11, 2);        for (int i = 0; i < topics.size(); i++) {            LocalDate day = start.plusDays(i);            String name = day.getDayOfWeek().getDisplayName(TextStyle.SHORT, Locale.ENGLISH);            System.out.println("Day " + (i + 1) + "  " + name + " " + day + "  " + topics.get(i));        }        System.out.println("Interview: " + start.plusDays(topics.size()));    }}
Output
Day 1  Mon 2026-11-02  Core Java: JVM, String, static/final, exceptions
Day 2  Tue 2026-11-03  OOP: pillars, overriding, interfaces, equals/hashCode
Day 3  Wed 2026-11-04  Collections: List, Set, Map internals, Comparator
Day 4  Thu 2026-11-05  Output puzzles and find-the-bug
Day 5  Fri 2026-11-06  DSA patterns: two pointers, window, hashing, BFS/DFS
Day 6  Sat 2026-11-07  Your project: pitch, walk-through, 3 STAR stories
Day 7  Sun 2026-11-08  Full mock round, then light revision of sheets
Interview: 2026-11-09

What this code does

  • plusDays(i) returns a new date each time; LocalDate is immutable, so start never changes.
  • getDisplayName(TextStyle.SHORT, Locale.ENGLISH) gives "Mon", "Tue" and so on, the same on every computer because the locale is fixed.
  • Change start to your own date and the topics to your role; the shape of the week stays the same.
  • Days 1 to 4: core Java, OOP, collections, output puzzles and debugging.
  • Days 5 to 7: DSA patterns, your project, then a full mock and light revision.
  • For a backend role, add Spring, JPA and SQL questions to days 3 and 6.
  • The day before: only your one-page sheets, your pitch, and sleep.

Revise: Choosing what to revise for interviews (opens in a new tab).

Order of execution

Order the seven days

Tap the topics from day 1 to day 7.

One-page cheat sheets to build and revise

A one-page sheet is one page per topic in your own words: must-know definitions, the traps you fell for, and two or three key code lines. Writing it is revision; reading it takes five minutes.

Build one sheet per day and add every practice mistake to the right sheet. Example 2 is a core Java sheet; Example 3 re-checks collections facts with real output.

Example 2 · A one-page core Java sheet

Text
CORE JAVA (one page)MUST KNOW  JDK = tools + JRE; JRE = JVM + libraries; bytecode runs on any JVM  == compares references; equals compares content (if overridden)  String immutable: pool, safe keys, thread-safe; StringBuilder for loops  static = per class; final = no change / no override / no subclass  Java is pass by value (the reference is copied for objects)  Checked: must catch or declare. Unchecked: RuntimeExceptionTRAPS I GOT WRONG  'a' + 1 + "b"  ->  "98b"         7 / 2  ->  3  Integer 128 == 128  ->  false    finally runs before return completes  static method via object -> declared type decides (hiding)KEY LINES  Objects.equals(a, b)     Objects.hash(f1, f2)  try (var r = Files.newBufferedReader(p)) { ... }
Layout
Must-know · traps · key lines, one page

What this code does

  • "Traps I got wrong" is the most valuable part: it is built from your own mistakes during the week.
  • Short arrows and fragments are enough, because you already learnt the details; the sheet only reminds you.
  • One sheet like this per topic gives you six or seven pages to read on interview morning.

Example 3 · Re-check the most asked collections facts

CollectionsFactsDemo.javaJava
import java.util.ArrayList;import java.util.Arrays;import java.util.HashSet;import java.util.List;import java.util.Set;import java.util.TreeMap;
public class CollectionsFactsDemo {    public static void main(String[] args) {        List<String> fixed = List.of("Java", "SQL");        try {            fixed.add("DSA");        } catch (UnsupportedOperationException e) {            System.out.println("List.of is unmodifiable");        }
        List<String> asList = Arrays.asList("a", "b");        asList.set(0, "z");        System.out.println("Arrays.asList allows set: " + asList);
        Set<String> skills = new HashSet<>(List.of("Java", "SQL"));        System.out.println("Adding a duplicate returns: " + skills.add("Java"));
        TreeMap<Integer, String> ranks = new TreeMap<>();        ranks.put(30, "C");        ranks.put(10, "A");        ranks.put(20, "B");        System.out.println("TreeMap keeps keys sorted: " + ranks.keySet());
        List<Integer> marks = new ArrayList<>(List.of(5, 10, 15));        marks.remove(Integer.valueOf(10));        marks.remove(0);        System.out.println("After remove(Integer 10) and remove(0): " + marks);    }}
Output
List.of is unmodifiable
Arrays.asList allows set: [z, b]
Adding a duplicate returns: false
TreeMap keeps keys sorted: [10, 20, 30]
After remove(Integer 10) and remove(0): [15]

What this code does

  • List.of throws on any change; Arrays.asList is fixed-size, so set works but add would throw.
  • Set.add returns false for a duplicate instead of throwing, a common output question.
  • remove(Integer.valueOf(10)) removes the value 10, while remove(0) removes the item at index 0: two different overloads.

Keep each sheet to short lines:

  • Top: must-know definitions. Middle: traps you got wrong. Bottom: key code lines.
  • Sheets to make: core Java, OOP, collections, output traps, DSA patterns, your project, and backend if you apply for one.
  • Revise sheets on the bus or in queues; on interview morning read only these.

Revise: HashMap internals questions (opens in a new tab).

Predict the output

Check the collections facts

Work out what each snippet gives before you trust your sheet.

Round 1 of 3

A HashSet of Strings.

Set<String> set = new HashSet<>();
set.add("Java");
set.add("java");
set.add("Java");
System.out.println(set.size());

What not to do in the last week

A trap list is the short list of mistakes you personally made in practice, such as == on Strings or a missing hashCode, kept on your sheets and re-read in the last week.

The commonest last-week mistake is starting something new. Example 4 checks a plan for this and the other traps. Spot them yourself in the lines below first.

Example 4 · Check a plan for last-week traps

PlanCheckDemo.javaJava
import java.util.List;
record Day(String name, int sleepHours, int newProblems, List<String> newTopics) {}
public class PlanCheckDemo {    public static void main(String[] args) {        List<Day> plan = List.of(                new Day("Day 5", 7, 3, List.of()),                new Day("Day 6", 5, 2, List.of("Kafka")),                new Day("Day 7", 8, 12, List.of()));
        int warnings = 0;        for (Day d : plan) {            if (d.sleepHours() < 7) {                System.out.println(d.name() + ": only " + d.sleepHours() + " h sleep, aim for 7 to 8");                warnings++;            }            if (!d.newTopics().isEmpty()) {                System.out.println(d.name() + ": new topic " + d.newTopics() + ", drop it this week");                warnings++;            }            if (d.newProblems() > 5) {                System.out.println(d.name() + ": " + d.newProblems() + " new problems, revise solved ones instead");                warnings++;            }        }        System.out.println(warnings == 0 ? "Plan looks calm" : warnings + " warnings");    }}
Output
Day 6: only 5 h sleep, aim for 7 to 8
Day 6: new topic [Kafka], drop it this week
Day 7: 12 new problems, revise solved ones instead
3 warnings

What this code does

  • Each rule is one of the traps from this section: little sleep, new topics and a pile of new problems late in the week.
  • A record keeps each day's numbers together with no boilerplate; newTopics() is the generated accessor.
  • The limits (7 hours, 5 problems) are sensible defaults for this checker, not hard rules; adjust them to your routine.

Other traps are cutting sleep, comparing your preparation with friends, and solving dozens of new problems on the last night.

  • No new frameworks or tools: if it is not on your resume, it is not in this week.
  • No all-nighters, and no marathon of new problems.
  • Do not memorise answers word for word.

Revise: Interview answer framing drill (opens in a new tab).

Find the bug

Find the weak plan line

Tap the line that would hurt the interview.

A friend's plan for the first four days.

Round 1 of 3

Interview-day checklist

An interview-day checklist is a list you prepare the day before and tick on the morning, so nothing practical can go wrong: documents and travel for offline rounds, laptop, internet and room for online rounds.

Example 5 is the full checklist. Prepare it the day before, and tick it in this order on the morning.

Example 5 · The interview-day checklist

Text
THE NIGHT BEFORE  [ ] 3 printed resume copies, ID, invite or admit card, pen  [ ] Route and travel time checked (offline) / link tested (online)  [ ] Read the one-page sheets once; say the 60-second intro aloud  [ ] Sleep 7 to 8 hoursONLINE ROUND, 30 MINUTES BEFORE  [ ] Laptop charged and plugged in; phone hotspot ready as backup  [ ] Camera, mic and screen sharing tested in the meeting app  [ ] Java and IDE open, blank Main.java, font size up, notifications off  [ ] Quiet room, plain background, water, other tabs and apps closedQUESTIONS TO ASK AT THE END (pick two)  [ ] What does a new joiner usually work on in the first months?  [ ] How does the team review code and share knowledge?  [ ] Which parts of the stack would I work with day to day?
Ready when
Documents · setup · voice ready · two questions

What this code does

  • Practical failures, like a dead battery or a missing ID, are fully preventable, so they go on the list the night before.
  • The online part repeats the setup from the live-coding lessons; test it in the actual meeting app, not just your camera app.
  • Questions about the work show real interest; leave salary and leave policies for HR.
  • Offline: printed resume copies, ID, admit card or invite, pen, reach 30 minutes early.
  • Online: tested camera and mic, a backup internet option, a quiet room.
  • Ready to say: your 60-second intro, your project pitch, two questions about the work (not salary).

Revise: Live coding on a shared screen (opens in a new tab). Practise under time: Mock Interview Mode (opens in a new tab) draws questions from all the interview banks, you answer aloud and rate yourself.

Order of execution

Order the online-round morning

Tap the steps in the order that leaves no surprise.

Next step

Check your understanding

12 quick questions