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.
Coming from other languages: this made my head explode. Well done!
I suspect a programming bug in the implementation of the tests.
I think "the randomized process generating the input data" is being invoked twice, yielding different results for user code versus test code, which has an exceedingly low probability of being identical. Thus, correct implementations don't match the expected output.
😂
I feel silly. Just noticed the instruction near the start to only count days in 2023.
I'm pretty inexperienced with SQL, so this could totally be a newbie mistake, but I think the provided tests are malfunctioning?
But the
expected
in the test comes back asJust eyeballing the test data, shouldn't that be 2 weekends, 4 days?