Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
chidevguy
on Jan 23, 2015
|
parent
|
context
|
favorite
| on:
Elevator Saga – An elevator programming game
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
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://gist.github.com/cspags/93f18a2fe505bf4f1686