Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ariley on github.
  • I am ariley (https://keybase.io/ariley) on keybase.
  • I have a public key ASBlRL9St-RM2rxLph1HB0D2IOS0m8gICn9z8HTLmkkX0Qo

To claim this, I am signing this object:

@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"],