Domanda di colloquio di Google

They asked to solve a coding problem required knowledge of implementing maths in code