Search
⌘K

Leetcode 262. Trips and Users

Compute, for each day between 2013-10-01 and 2013-10-03 that has at least one trip, the cancellation rate among trips where both client and driver are not banned by joining Trips with Users (twice) and filtering banned='No'; cancellation rate = (count of cancelled_by_client or cancelled_by_driver) / (total trips) rounded to two decimal places.

Asked at:

Uber


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Mid May, 2025

Uber

Senior

Given an array of trips where each has a passengers, pick up, and drop off locations. Return the max car capacity needed to ride all those passengers.

Comments

Your account is free and you can post anonymously if you choose.