Penumbra Interview Question

They wanted to see if you knew basic math