top | item 21496505

(no title)

soulslicer0 | 6 years ago

lol i just did the interview and failed. had to find shortest path between tesla chargers. all in C++. completed it but failed

discuss

order

lsh|6 years ago

you were supposed to bore a tunnel directly between the two points

karpathy|6 years ago

Very likely not for the positions above! (they all focus on Python)

boulos|6 years ago

Slightly off-topic (but related to the side thread where people didn’t realize you went to Tesla): your HN about still says you’re at OpenAI :).

bitL|6 years ago

IoU

ars|6 years ago

How does that work? Where you given the algorithm to use? Or was it really a data science question, rather than a programming question?

meheleventyone|6 years ago

Without more details it sounds like an algorithm problem you'd be expected to solve from prior knowledge. Stuff like a breadth first search from the start point, up through various path finding algorithms to applying heuristics (I believe route finding on roads exploits the road topology).

f00_|6 years ago

Could you have just used dijkstra or breadth first search?