You are viewing a single comment's thread. Return to all comments →
String input = "abcbaba";
My answer is 11 but the expected answer is 10.
a,b,c,b,a,b,a,abcba,bcb,bab,aba - total of 11.
Can someone explain to me if my expectation is wrong?
Seems like cookies are disabled on this browser, please enable them to open this website
Special String Again
You are viewing a single comment's thread. Return to all comments →
String input = "abcbaba";
My answer is 11 but the expected answer is 10.
a,b,c,b,a,b,a,abcba,bcb,bab,aba - total of 11.
Can someone explain to me if my expectation is wrong?