I am trying to solve this question and getting WA for my solution
Can anyone help me to find the bug please…