Grant Street Group Interview Question

A couple on paper math/logic questions.