Heaps

Structures that keep the smallest or largest item to hand.

1 subject · 1 topic · 1 cheatsheet

Subjects covering this category

1 subject
  • Subject · Intermediate to Advanced

    Recognising which of the common problem-solving patterns an unseen coding problem needs, and solving it in Python, Java or TypeScript within the time an interview allows.

    • Approach
    • Array and Number Patterns
    • Linked List Patterns
    17 topics · 135 cardsnot started

Cheatsheets

1 cheatsheet
  • Cheatsheet · Coding Interview Patterns

    Fourteen coding interview patterns on one page: the property that points to each, what it costs, when it fails, and its loop in Python.

    1 entry here

In Heaps itself

1 topic
  • Coding Interview Patterns

    Heap patterns: keeping the top K items, merging sorted lists and tracking a running median with one heap or two.

    Intermediate to Advanced8 cards · 4 qnot started