Some error occured while loading page for you. Please try again.
You are viewing a single comment's thread. Return to all comments →
This java solution and the recursive one doesn't work for the input string coding 'AA' for example.
You'll output one single A or nothing.