Better HN
topnewbestaskshowjobs
Log inSign up

thoreauway

122 karma · joined Jul 30, 2014 (12y ago) · 15 submissions

Submissions

comment 7y ago · link · parent

I interviewed at Uber before they launched. Their "take home" was to create... Uber.

Here's the exact challenge:

UberCab Coder Challenge

1) Write a program that determines the wait time, trip time, rating, and fare for a black car trip in San Francisco, given that the customer's pickup location and destination is randomly placed anywhere in San Francisco proper, and given that there are X number of cars all placed randomly across the city. Use GoogleMaps API for trip duration time. Run simulation 100 times for 1, 5, 10, 20, and 50 cars. Output average wait times and trip times for each # of cars the simulation was run on.

2) Take #1 and do the same pickup and trip time calculation given that there are Y customer requests per hour (extra credit if this is done with a Poisson distribution ;)). Take into account each car's availability (given that they may have been selected to carry a customer and are in transit on pickup or on actual trip, and thus unavailable). Run simulation given the number of cars in #1, but for each simulation in #1, run once for Y=1x, 2x, 5x, the number of requests per hour (X being the number of cars in the city, as defined in #1)

3) Take #2 and then make a GoogleMaps mashup that then shows the various trips that were taken for each simulation. Provide mashup interface showing all trips but also provide ability to only show trips for each driver.

4) Write a "Hello World" app on the iPhone that for a certain driver logging in shows all of his trips taken in the last simulation, the average rating that he got, and the total fares he collected during those trips.

comment 8y ago · link · parent

Mirror: https://vimeo.com/249107036

comment 9y ago · link · parent

The spreadsheet with formulas is more helpful than I would have imagined (remember to look at the assumed constants tab).

comment 9y ago · link · parent

When does this take effect?

comment 9y ago · link · parent

I've had the hamburger before in NY (~$9 w/ fries) and it's pretty delicious. Probably would have thought it was real beef if I hadn't already known. I'm extremely bullish on IF.

comment 10y ago · link · parent

ENHANCE. ENHANCE.

comment 10y ago · link · parent

Nothing to see here.

comment 10y ago · link · parent

This is the 2nd time Transmission has been compromised this year.

Previously: https://news.ycombinator.com/item?id=11234589

comment 10y ago · link · parent

Doesn't Google OWN Niantic? So now Google has access to our Google data? Don't see the issue.

comment 10y ago · link · parent

As someone who always opts out, this makes me sad.

comment 11y ago · link · parent

If you have a MBP Retina you're not using, maybe I can use it? :)

comment 12y ago · link · parent

Anyone have information on how to contact them/be a part of this group?

comment 12y ago · link · parent

se at priest com

comment 12y ago · link · parent

I'd consider purchasing it, do you have more information?