Matic Interview Question

Math puzzles, basic firmware questions