nrml
Amazon prep path
Practical coding trackWeek 2Pro module

Maintain an invariant across operations

Reason about cache recency, eviction, and resizing as one state model. Separate evidence of correct output from the argument for constant-time operations.

What you will practice

  • Predict recency order before executing a command trace.
  • Keep membership, size, and endpoints consistent after every operation.
  • Explain operation costs separately from functional test results.

Continue the guided path with Pro

Get this lesson, its focused drills and review guidance, plus explanations, replay, and unlimited native grading. AI usage has a separate allowance.

Sources and scope

Sources establish reported task overlap, not each module’s exact API, starter, tests, or extensions. Those are independently authored nrml practice. Linked report dates appear in the source labels; reviewed dates refer to the recorded source review. Historical reports and secondary summaries are identified explicitly. Completion records practice and review, not hiring readiness.