On the Beach interview question

Asked about a code test and some general technical questions