โ† Uber questions

Weekly rider retention from a completed-trips table

Filed under Uber

The question

A Completed_Trips table has rider_id, trip_id and trip_date. Retention is the share of riders who took a trip in one week who also took a trip in the following week. Compute it and plot the retention for the last n weeks, where n is an input.

No write-up yet. Related questions below have one.

Related Uber questions

Collected from public candidate posts and coding forums. Updated Nov 2026.