27/28
Part 7 of 7 · What interviewers ask nextLearn

The practice problem, start to finish

That's every piece the practice problem needs. It asks for every level from the start of the lesson, from a blank file, and the interviewer follows up after each one.

More exact-sum problems to practice

A prep site's question bank lists two more exact-sum DPs for Airbnb MLE rounds:

  • the fewest items from an unlimited supply that add up to an exact target, listed for a technical screen (1 source)
  • the fewest bookings that fill a layover exactly, listed for an onsite (1 source).

Both are min_coins under new names:

Their wordsCoin change words
item sizes, booking lengthsthe coins
the target, the layoverthe amount
fewest items, fewest bookingsmin_coins

Practice them by restating them that way out loud. Then ask the three questions this problem raises: are the values whole units, can the target be unreachable, and can each option be used more than once?