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.
I found this Kata quite ambiguous. It says that the frequency-values will never be greater than 100, which means that it can be 100 as well. It must say "greater or equal". And also, it must specify that columns are two-space separated from each other. Would have been better to work with a general approach that computes how many spaces the columns have to be separated. For instance, the case
{10, 10, 10, 9, 9, 9}
expects the following answer:but a better answer would be:
This comment is hidden because it contains spoiler information about the solution
The issue that many people experienced is still present
(Assertion `to_postfix(infix) == postfix' failed)
. Consider the following code to fix it: