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.
Haha, it's not a rare find or anything like that. The docs say it's one of only two supported libraries for C++ on CodeWars
great work finding the experimental rangesv3 implementation in this libc++ lol. If they just gave us C++20 this should be the default solution.
.
Approved, thanks!
Ah! Today I learned something. Thank you! Looks like empty sequences are a sub-sequence of any existing, finite sequence and an empty Set is part of any existing Set. The latter makes sense, but the former sort of breaks my brain.
Also, it's pretty cool that you're going back to fix issues you yourself called out long ago. Awesome growth. I hope to see similar progress one day. :)
JS Fork to Introduce Random Tests.
C++ translation; includes random tests
Approved
This kata doesn't require optimization. I think it's possible your previous solution may have had a bug that caused infinite recursion; hard to tell without seeing it. But I'm closing this for the time being because the naive solutions pass the tests in negligible time.
Approved
Thank you, done
Looks great! I'd just suggest moving
rnd50,fizzBuzzArray, andcheckinto theDescribestruct & within aprivatesection, like how this example does itTo me, both are perfectly fine. While
string_viewis probably the more idiomatic choice here, I personally don't think the choice between them matters much hereIt's a better practice yes, since
size_tis the C version, but maaany people just use the global version anywayHaven't solved this kata, but if you read the error, it complains about your solution's
magnitudebeing a method. The description needs it to be a field, not a method.Loading more items...