← Questions

Generic retry helper with configurable backoff

0
AirbnbSierraCodingLast asked Aug 2026

A coding interview question asked in Airbnb's coding round and at Sierra, last asked Aug 2026. It tests retry, backoff and async.

Calls to remote services fail now and then for reasons that go away on their own: a dropped connection, a busy server, a timeout. Write a generic retry helper that runs a function, returns its result on success, and retries it on failure…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Airbnb · Coding · Last asked Aug 202645 min · Live coding, one or two rounds, from the same pool as the screen
  • Sierra · Technical phone screen · Last asked Oct 202560 min · One live coding problem in Python or TypeScript

What it tests

retry · backoff · async · api design

Your code and the AI tutor open when you unlock this question.