Amazon Coding Question : Street Lights