ZL Technologies interview question

Math questions