TOUGH TONGUE AI
  • Home
    LogoTOUGH TONGUE AI

    RESOURCES

    Loading...

    HomeLibraryCoding Mock · Running Orders

    Coding Mock · Running Orders

    Coding Mock · Running Orders

    Overview

    A backtracking coding round with Nate. List every order of a set of acts, run the tests, then handle repeated values in your own code. Written report after.

    Your Instructions

    Your goal: frame the choice, write choose, explore and un-choose cleanly, store a copy of each finished order, and test the awkward inputs yourself.

    How this works (about 30 minutes)

    • Nate puts one question in the shared editor. Read it, ask what you need, then think out loud.
    • Say your approach and its cost before you code. Pick Python, Java or C++ in the editor.
    • Run the public tests, then tell Nate which input you think would break your code.
    • A follow-up that changes the problem, built from your own code.
    • No hints you did not ask for and no scores during the call. Your report comes after.

    What scores well

    • Saying what one step decides and when an order is finished
      • Undoing each choice so the next branch starts clean
      • Storing a copy of the order, not the list you keep changing
      • The cost as the number of orders times the work to store each
      • A tiny input traced by hand before running anything

    Tips

    • Take Coding Coach · Recursion and Backtracking first.
    • Silence reads as stuck. Say what you are trying, even when it is a guess.

    More in Coding Interview Prep: AI Coach Edition

    • Coding Mock · Price Just Below
    • Coding Coach · Graphs
    • Coding Mock · Shortest Cell Path
    • Coding Coach · Heaps and Intervals
    • Coding Mock · Nearly Sorted Log
    • Coding Coach · Recursion and Backtracking
    • Coding Coach · Dynamic Programming
    • Coding Mock · Edit Distance
    • Coding Coach · The Pattern Picker
    • Coding Mock · Same Meaning
    • Coding Mock · Google Room
    • Coding Mock · Meta Room
    View the full course (40 sessions) →