You are viewing a single comment's thread. Return to all comments →
In alreadyhappy function if the test case is like BBAAAB ur function is not checking what happens when i=s.length()-1.
Seems like cookies are disabled on this browser, please enable them to open this website
Happy Ladybugs
You are viewing a single comment's thread. Return to all comments →
In alreadyhappy function if the test case is like BBAAAB ur function is not checking what happens when i=s.length()-1.