Hacker News new | ask | show | jobs
by chidevguy 4159 days ago
Here's a fairly simple strategy for beating challenges 1 - 5. Basically drop off people in the elevator according to whoever's floor is closest. Then once the elevator is empty go to the closest floor that has people waiting to be picked up.

https://gist.github.com/cspags/93f18a2fe505bf4f1686