Assistance required to solve this problem.
Hello, mates. I was trying to solve this problem. But I don't know why my solution fails. Can anyone help me with this?