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.
empty string should either be tested against by a fixed test or ruled out in the description
expected x to equal y
means that your code returnedx
buty
was the correct answer. it is your code that returns this when the input is an empty string.This comment is hidden because it contains spoiler information about the solution
Nice Kata!
done
For real, C helps you understand algorithms better.
Solved in c++, nice kata.
I haven't checked whether your code fails or passes, but you are definitely getting a bunch of warnings (which are not errors, though they appear in stderr in the output). Write your code in a proper IDE with linting support (e.g. VS Code + RustAnalyzer) to see all the slightly silly thing's your code is doing.
I just solved this and there are not errors in sample or submission tests.
Rust random-test failing but anyways resulting as a correct solution.
First time using rust....... This was not the right way to learn this language unlike all the others I have learned. However, this challenge was very fun and I'll be redoing it in a language I know better.
Amazing Kata, this one goes directly to my collection, It's a gem! Thanks!!
one line solutions is bad and not clear ᶻ 𝗓 𐰁 ᶻ 𝗓 𐰁
Nice Kata, Thanks!
Enjoyable kata !
How does a beginner go about understanding this regex? I can follow the parenthesis and understand the asterisks, but it's difficult to grasp the logic behind searching for the given sets of 0s and 1s. I can't even understand how to normally solve this kata without a regex, so I feel bad for getting stuck on this 4 kyu when I've completed others at this difficulty level.
Loading more items...