TOUGH TONGUE AI
  • Home
    LogoTOUGH TONGUE AI

    RESOURCES

    Loading...

    HomeLibraryCoding Mock · Duplicate Files

    Coding Mock · Duplicate Files

    Coding Mock · Duplicate Files

    Overview

    A coding round with Nate in a shared editor: find duplicate files from folder listings, public tests, then a scale follow-up built from your own code. Written report with a hire band after.

    Your Instructions

    Your goal: solve one hash-table question the way a strong candidate does: understand it, choose the key on purpose, code it, test it, and say what changes when the data gets big.

    How this works (about 30 minutes)

    • Nate puts the question in the shared editor. Pick your language at the top.
    • Think out loud. Ask about the input and the limits before you code.
    • Say your approach and its time and memory before you write it.
    • Run the public tests from the editor. Tell Nate when you want him to look at your code.
    • After the tests, he asks what input would break your code, then a follow-up built from your code.
    • No scores during the call. Your report comes after.

    What scores well

    • Restating the question and working a small example by hand
    • A simple way first, then a better one, with the reason it is better
    • Naming the key of your table and why it is the right one
    • Testing your own code with the odd inputs before Nate asks
    • Saying what you would change if the files were gigabytes, not words

    Tips

    • Take Coding Coach · Hash Tables first.
    • Ask what counts as "the same" before you choose a key.

    More in Coding Interview Prep: AI Coach Edition

    • Coding Mock · Make It Fast
    • Coding Coach · Arrays and Two Pointers
    • Coding Mock · Rain Between Walls
    • Coding Coach · Sliding Window and Strings
    • Coding Mock · Five-Vowel Stretches
    • Coding Coach · Hash Tables
    • Coding Coach · Binary Search and Sorting
    • Coding Mock · Number Finder
    • Coding Coach · Stacks and Queues
    • Coding Mock · Mirror the Message
    • Coding Coach · Linked Lists
    • Coding Mock · Recent Shelf
    View the full course (40 sessions) →