Instructure Interview Question

Cows and Bulls problem.