Tredence interview question

Puzzles which you find online. Math problems