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.
Not an exact duplicate, but very close to this: Two's Complement
Simple and easy kata to understand, well done.
Approved
python new test framework is required. updated in this fork
adapted
but the actual task isn't properly described anywhere, so far. At the very least, this bullet point needs an update:
and to avoid confusion, a sentence at the end of the "original problem" section should/could be added:
(or something equivalent)
fixed
python default version is still set to 3.8
Hi,
The description is still incorrect:
That's not at all what is asked for. The expected answer is
find the minimum amount of flips needed to terminate the porcess
.approved, I'll take out stupid edge cases from JS aswel
something nice to add would be a challenge to have the users do it without converting to a string :)
Python translation. Please, review and approve (the author is inactive).
Related to the issue below: this translation doesn't have tests with invalid inputs - I can add some if this requirement is to be kept.
Ruby 3.0 should be enabled, see this to learn how to do it
What pattern? There's no pattern.
0
has0
digits, but2
is expected for0
.Loading more items...