Oura Interview Question

I was asked to review a frontend code