One base test failing

All the base cases are passing except one. Expected answer is 180 but I am getting 179.
Failing case - “base-test-1”

@kaushal_kr you seem to be missing the case when the right pointer reaches the end of the string.
Ex-> n = 4, k = 2 and s = “pqaa” answer should be 3 (“qaa”) but your code gives 2. This testcase is very similar to base testcase 1. Hope it helps

hey looks like your error resolved. closing this ticket.

Closing this topic as there is no response since last 12 hours. Please feel free to create a new topic and post this question as a reference link in the description of the new topic.