What's wrong with my solution?
Here is the question_link Here is my solution. please guide me why my solution giving runtime error?