You are viewing a single comment's thread. Return to all comments →
I don't really understand the syntax here: return s.length()>n? aCounter(s, rest) : numOfS*aCounter(s, s.length()) + aCounter(s, rest)
Cound you explain? thank you.
Repeated String
You are viewing a single comment's thread. Return to all comments →
I don't really understand the syntax here: return s.length()>n? aCounter(s, rest) : numOfS*aCounter(s, s.length()) + aCounter(s, rest)
Cound you explain? thank you.