Everpure Interview Question

8-10 question and two coding question.