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.
Oops – thanks.
Reading the initial code:
How did you guys determine the name of the database in this Kata? I had the correct solution but was not able to determine the DB "expression_matter" from the description.
Best in terms of function operating time. I mean, why do complex calculations when you can do it straight away? As a complete beginner, I discover on other katas that sometimes the simplest head-on solutions are the best in time, but sometimes complex calculations work tens of times faster than similar head-on solutions. I would also do it through a set so that the algorithmic time is O(1)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Very smart
This comment is hidden because it contains spoiler information about the solution
Nice and neat.
I'm working on learning regex and this was super helpful, thank you. It took me a little while to figure out how it worked, but it's slick.
Thanks
Very clean solution
Why? Is this a piece of gospel taken straight out of a "Clean Code" type book?
This code works and looks great.