Skip to content

Instantly share code, notes, and snippets.

@ariley
ariley / BY0v-179.js
Created January 17, 2016 16:55 — forked from anonymous/BY0v-179.js
https://repl.it/BY0v/179 created by ariley
/*
The Array Hotel - Instructions
In this exercise, we'll be using an array to manage the occupancy
of a hotel called The Array Hotel.
Each room in the hotel will be represented with a "vacant"
or "occupied" string in the array. The index of the element
is the room number. For example, for a hotel with an
occupancy array of ["occupied", "vacant", "occupied", "vacant"],