Demonware interview question

1 leetcode easy-medium, 1 math coding question, 1 debugging question.