TikTok Interview Question

5 coding questions testing the programming ability as well as maths ability.