Two test cases fail ..!

please correct it
link :- https://ide.codingblocks.com/s/212051

@sonu28sharma99 there is a small mistake in your code i have corrected it and commented that part (https://ide.codingblocks.com/s/212162)