Hacker News new | ask | show | jobs
by soulslicer0 2582 days ago
lol i just did the interview and failed. had to find shortest path between tesla chargers. all in C++. completed it but failed
4 comments

you were supposed to bore a tunnel directly between the two points
jeez, trick question
Very likely not for the positions above! (they all focus on Python)
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 :).
oops, thank you, fixed :)
As long as you’re here, I’d love to get an updated PyTorch vs TF from you in the sibling thread as payment :).
IoU
How does that work? Where you given the algorithm to use? Or was it really a data science question, rather than a programming question?
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).
Could you have just used dijkstra or breadth first search?