TOUGH TONGUE AI
  • Home
    LogoTOUGH TONGUE AI

    RESOURCES

    Loading...

    HomeLibraryCoding Coach · Heaps and Intervals

    Coding Coach · Heaps and Intervals

    Coding Coach · Heaps and Intervals

    Overview

    Decide what to keep and what it costs: a heap of size k, or a sort and a sweep. Watch Iris work one example in her 3D lab, pick your own approach, take a timed spoken drill and write your own rules.

    Your Instructions

    Your goal: compare sort, heap and sweep out loud before choosing, say what the top of the heap means, and keep n and k apart in the cost.

    How this works (about 25 minutes)

    • The 3D lab sits beside the call and shows each move as you reach it.
    • Watch me: Iris works one real question; you predict the key choice by tapping or saying it.
    • Your turn: a new question. You pick the approach and the board follows you.
    • Timed drill: a real interview question, about three minutes, spoken, with feedback and one retry.
    • Your rules: your own dos and don'ts on the notepad.

    Tips

    • Read the module reading first: Heaps and Intervals: Keep Only What Matters, Sort Then Sweep.
    • Say your thinking out loud, even when it is a guess. Interrupt any time.

    More in Coding Interview Prep: AI Coach Edition

    • Coding Coach · Linked Lists
    • Coding Mock · Recent Shelf
    • Coding Coach · Trees and Tries
    • Coding Mock · Price Just Below
    • Coding Coach · Graphs
    • Coding Mock · Shortest Cell Path
    • Coding Mock · Nearly Sorted Log
    • Coding Coach · Recursion and Backtracking
    • Coding Mock · Running Orders
    • Coding Coach · Dynamic Programming
    • Coding Mock · Edit Distance
    • Coding Coach · The Pattern Picker
    View the full course (40 sessions) →