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
Hi, it’s been fixed.
You’re right that it’s more of a strings problem than queues.