Interview Prep on codechef Question link =

This question has a large number and we have to return n+1 , the given example containts 90+ 1 = 100, which seems incorrect to me , also there is no comment section to discuss the question , which is why I am posting it here , also how to achieve it using a queue

@shriganesh83 - thanks for highlighting this - will check it out and revert.

Hi, it’s been fixed.
You’re right that it’s more of a strings problem than queues.