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.
The urge to write a cheeky one liner is too strong!
*make it
Oh yes haha most of my codewars solutions would not male it to my professional codebases haha
Although this is my solution I'd hate to have this in a real codebase because of readability.
Are we allowed to use the given() statement in these Perl kata?
just baslic if else condistionals..
This comment is hidden because it contains spoiler information about the solution
Another one where I took the scenic route to arrive at the solution LOL.
This comment is hidden because it contains spoiler information about the solution
For all we know user can enter 1000000. But kata got clear constraints
1 <= month <= 12
.Most of the answers that I see are not correct, because they do not take into account that the user can enter data for the month numbered 0 or 13! For example, if you use the Math.ceil, then month 13 refers to quarter 5!
This comment is hidden because it contains spoiler information about the solution
Hi, you should check on 4 quarters 3 , 6 , 9 , 12
any month is belong of one of those quarter you return at any quarter...
This comment is hidden because it contains spoiler information about the solution
should be 7 kyu for SQL, unlike Python no math lib in it
you gotta type conditions manually
Loading more items...