Galvanize interview question

Practice problem with various objects