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.
There's a difference between "parts of people don't give birth" and "a person being born is wiped out of existence just because it doesn't suit our reporting window". If we would report every month, we would still have 0 people after a million years.
Thank you, I must have missed the last part of the description.
You have clearly not read the issue. How can you mark it resolved? Does power tripping like a Reddit mod give you purpose in life?
The arbitrary decision to round down should not be burried at the bottom of the problem.
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 is actually brilliant and doesn't use REGEX :D
Had to scroll pretty far down to finally find code that's actually readable.
I don't think using regex on a kata called "Regex validate [...]" is missing the point. This regex is also
O(n)
with respect to the input length, notO(1)
.All of these solutions use REGEX. I mean.. it works, and is definitely the best practice because of O(1) complexity but it's also kind of missing the point imo.