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.
python translation kumited, awaiting approval.
https://www.codewars.com/kumite/561a3aae869f24ee5c0000a5?sel=662d6d33e681a65d606aef6a
Missing sample and fixed tests like
[0], 'value'
and[0], 'index'
in all languagesAll languages do not obey to this constraint in random tests:
Some languages have sample and fixed tests like
[1, 1, 0, 0, 1, 1]
that should be removedD translation
Rust translation
Ruby 3.0 should be enabled.
KaTeX should be used.
C and C++ translations. Please review.
There're already several binary-search-related katas.
Python translation submitted for re-approval after original author (who is now inactive) accidentally rejected it.
The author is long gone, so if someone wants this kata published, will have to fix the issues.
I would replace the -1 result with a null/undefined/false, -1 index it's a Java relic limitation that should not exists in the first place. It is more confusing in JS because you can do string.slice(-1).
Nice one really, all the basic algorithms should have at least 1 kata around here.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution