TOUGH TONGUE AI
  • Home
    LogoTOUGH TONGUE AI

    RESOURCES

    Loading...

    HomeLibraryPractical Mock · AI Lab Room

    Practical Mock · AI Lab Room

    Practical Mock · AI Lab Room

    Overview

    A 45-minute AI-lab-style practical round with Theo in a shared editor. Add nested transactions to a small in-memory store, test the edges, then answer what breaks when threads share it. Written report with a hire band after.

    Your Instructions

    Your goal: show how you build a small system for real: agree what it means, run something early, test the awkward cases, then say what changes in production.

    How this works (about 45 minutes)

    • A small settings store appears in the shared editor. Python only.
    • You add begin, commit and rollback, nested. Ask Theo for the rules you need.
    • Run the public tests from the editor as you go. Write at least one input of your own that breaks a first version.
    • Theo then asks what goes wrong when two request threads share the store.
    • No scores during the call; your report comes after.

    What scores well

    • Saying what a delete and a nested commit mean before you code
    • Two approaches with their costs, then a thin version that runs early
    • Tests for delete followed by rollback and nested commit followed by an outer rollback
    • A concrete picture of two threads interleaving, and a fix with its trade-off

    Tips

    • Take Practical Coach · Extending a Feature first.
    • This is a practice room built from what candidates report, not any lab's real process.

    More in Practical Coding Interview Prep: AI Coach Edition

    • Practical Coach · Hunt the Logic Bug
    • Practical Mock · Find the Logic Bug
    • Practical Coach · Debug: Races and Leaks
    • Practical Mock · Debug a Race and a Leak
    • Practical Coach · The AI-Assisted Round
    • Practical Mock · Review the Agent's Code
    • Practical Mock · Meta AI-Assisted Room
    • Practical Mock · Progressive Build Room
    • Practical Mock · AI-Tools Startup Room
    • Practical Drill · Scope It
    • Practical Drill · Where Would You Add It
    • Practical Drill · First Debug Move
    View the full course (32 sessions) →