Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
could anyone explain what the ++ is doing after the table[std::tolower(x)]++
also it be very nice if someone explained whats going on here
for(auto x: word) result += (table[std::tolower(x)]==1)? "(":")";
Elegant, I'll have to remember this.
This comment is hidden because it contains spoiler information about the solution
Interesting. Using a map was also my first idea but I didn't know that I can just use an increment. I learned that not initialized ints become one after an increment.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution