This is a solution of a test offered by a renowned company. Here I have tried to follow all the rules and tried all the problems.