← Questions

Users with impressions on seven consecutive days

0
AirbnbCodingLast asked Sep 2026

A coding interview question asked in Airbnb's coding round, last asked Sep 2026. It tests sql, window functions and gaps and islands.

A table records impressions shown to users. Write a PostgreSQL query that returns the users who had at least one impression on each of seven consecutive calendar days, at any point in the data.

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 Sep 202645 min · Live coding, one or two rounds, from the same pool as the screen

What it tests

sql · window functions · gaps and islands

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