Skip to content

Instantly share code, notes, and snippets.

View jondaiello's full-sized avatar

Jon Daiello jondaiello

View GitHub Profile
@yock
yock / about.md
Last active April 13, 2016 19:50
elevator_saga.js

Elevator Saga

A programming challenge for dispatching elevators. If you've ever waited for an elevator and thought about how much sorter the wait would be if you were the programmer, give this a try.

http://play.elevatorsaga.com/

About the Algorithm

This very simplistic implementation attempts to do just two things: