You are viewing a single comment's thread. Return to all comments →
It counts the number of "a" in a full string, and in the last, potentially partial string, and calculates the total amount of "a" based on that.
"a" count of full string * number of string repeats + "a" count of last string.
Seems like cookies are disabled on this browser, please enable them to open this website
Repeated String
You are viewing a single comment's thread. Return to all comments →
It counts the number of "a" in a full string, and in the last, potentially partial string, and calculates the total amount of "a" based on that.
"a" count of full string * number of string repeats + "a" count of last string.