SprintRay Interview Question

They asked one math question and one coding question