Add candidate's solution

Please review candidate's solution