Airbnb logoAirbnb
Coding·45 minMembers

Refund Waterfall Across Payment Methods

Members only

Given an ordered history of payments (each with method, date, and amount) and an optional history of prior refunds against those payments, produce the refund allocation for a new refund amount. Refund...

SWE
array
simulation
greedy
payment
medium
Frequency
Low
Last asked
2026-04-28
Stage
onsite-coding · tech-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...