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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
As I thought after reading the kata's description, there are only two types of numbers in given string:
Thus, numbers like 1.7976931348623157E308, 4.9E-324, 0.4445839983169688 are absent in given strings guaranteed.
Howeher, there are tests with exactly these numbers!
Please, explain.
thank you :)
Besides a relevant using of third-party library: the way how you calculated widths of fields and generated the result string is just graceful.