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.
Sure, my foul
This isn't possible in any current version of C#.
2^31 = 2147483648
(DateTime.MaxValue - DateTime.MinValue).TotalDays = 3652059 (less than 2^31)
cycleLength is int, which has a max value of 2147483647 (less than 2^31)
There is no possible way to pass this method values that will cause the error you describe.
This comment is hidden because it contains spoiler information about the solution
Agreed, but sometimes practicing this type of coding style in easier task make it easy on harder tests with a max char length
It's excellent. Less code and clever solution
Minified code is not optimal for reading ^_^
.
Used same approach for names. Thanks for the help.
\o/
working.
But now that I see the tests: you have the same problem about names. The chances of collisions are really low, but your tests could generate 2 times the same name => use the same tactic (with the set)
Thanks, for feedback, I have now changed it to use a Set.
XD
worse than before...:
what are you doing to produce this? you should be using a set that you fill with random numbers as long as you don't have the neeeded number of data
Thanks, fixed, please review.
that part seems handled, but now you have again duplicated numebrs of votes:
Thanks, Blind4Basics, fixed the issue and also made my reference function different.
Loading more items...