{"id":29832509,"url":"https://github.com/hauntedhost/elevator-rails","last_synced_at":"2025-07-29T11:37:25.871Z","repository":{"id":9880173,"uuid":"11882739","full_name":"hauntedhost/elevator-rails","owner":"hauntedhost","description":null,"archived":false,"fork":false,"pushed_at":"2013-08-05T08:17:14.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-05-15T04:04:25.790Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"yasirsiddiqui/php-google-cloud-print","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hauntedhost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-04T18:16:18.000Z","updated_at":"2014-02-06T07:53:04.000Z","dependencies_parsed_at":"2022-09-10T04:04:44.670Z","dependency_job_id":null,"html_url":"https://github.com/hauntedhost/elevator-rails","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/hauntedhost/elevator-rails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauntedhost%2Felevator-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauntedhost%2Felevator-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauntedhost%2Felevator-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauntedhost%2Felevator-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hauntedhost","download_url":"https://codeload.github.com/hauntedhost/elevator-rails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hauntedhost%2Felevator-rails/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267678465,"owners_count":24126337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-29T11:36:28.863Z","updated_at":"2025-07-29T11:37:25.846Z","avatar_url":"https://github.com/hauntedhost.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Elevator Algorithm\n==================\n\nUsing the language(s) of your choice, create an Elevator System class that manages all the elevators in a highrise. The behavior of the cars in response to button pushes can be any reasonable scheme of your own defining. For example, if someone on the fifth floor pushes the “down” button, what are the factors that will determine which car or cars are sent to service that request? You can come up with your own spec that answers such questions. Our main interest is in seeing your design and implementation for meeting that spec.\n\nNotes:\n------\n\n1. Feel free to create additional classes and internal objects; whatever you feel you need to model the elevator system well.\n\n2. The code doesn't need to be complete if you don't have the time. We're interested first in your design, and then in your algorithmic sense. The priorities are: class hierarchy and object model, public interfaces, major member variables, important private methods, implementations. However, every major method of every major class should at least have a pseudo code implementation that explains what that method would actually do. Also, at least one complicated method should be implemented in real code, as we’re also interested in your coding style.\n\n3. Assume that you’ll have an API for sending commands to the physical cars themselves and for receiving notifications about things like button presses on the floors and in the cars and the current positions and movement of the cars. Go ahead and define how you’d want that API to look and what you’d want it to do for you. You won’t have to implement any of these functions, of course.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhauntedhost%2Felevator-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhauntedhost%2Felevator-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhauntedhost%2Felevator-rails/lists"}