Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I got to Challenge #5 by just having the elevators go to every floor like in the first example.

Strange, that strategy doesn't allow me to get past challenge 2 (just going to every floor one after the other).



Guess, I got lucky, haha. I should probably go back to challenge 2 and learn how to program these then.


On six it takes you back to 4 floors with 2 elevators and the challenge is 40 people in under 60 elevator moves.

The first 5 are easy to "brute force" but six is making me think a bit more.


I cheated with #6. My elevators wait on the ground floor until they fill up, then they deliver the patrons to their floors. Everyone not on the ground floor... is stuck forever.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: