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.
Ok, guys! I will update this kata in a few days ;)
Oh, also, Ruby version needs random tests.
Lots of cheese I already noticed:
select
is blocked but notreject
, and many, many other thingsEnumerable::sort
is not blockedrb
/python
ourselvesi.e https://www.codewars.com/kata/reviews/588a55734b9a4bd09a000d1d/groups/5adeeedd60da5c6f5a00006f
See, it looks like it's not me who's not skilled, but rather the opposite ;-)
Honestly, I'd align on Voile's opinion: python and ruby are just BAD at forbidding features. So I'd make go away the restrictions and left the kata be easy in both languages. Other than that will just create a lot of hassle to implement/maintain for almost nothing.
Nah, we all know blocking sorting methods in Python is impossible, because we already have many rounds of battles trying to block sorting functions on other katas in the past. The defender always loses.
Well, not unless you use JS. Blocking sorting function in JS is easy. You see, it's not a thing about "skill", people are skillful, it's just that sometimes you can't do what you want to do in your language if your language just can't do that ;-)
Hey, I'm not familiar with the Python. But you can grow up your skills and help to fix Python translation :) P.S.: Voile, write your own 'good' language, what's wrong dude?
Do you think it's that easy to block sort methods in Ruby? ;-)
Don't forget that Ruby is just as bad as Python!
python version is absolutely inconsistent with the description:
Note: You must do this in-place without making a copy of the array
Except that:=> with bestwebua's last changes, the two versions are actually two different katas. That's bad...
I have blocked all default sort methods in Ruby)
If in place sorting is required, I would suggest blocking answers that use "sorted".
Makes the answers much more interesting imo.
Same. Mine says (0,0) expected but my code is returning the correct values. Are the random test wrong or am I wrong?
This comment is hidden because it contains spoiler information about the solution
@FArekkusu ...
Leaving one link instead of a whole list is good, but I don't really understand why would you convert the whole text to italics. Personally, I use it for comments, minor emphasis, and highlighting words as figurative speech, but stress important text with
backticks
, bold text and UPPER CASE, leaving everything else normal.@FArekkusu
Loading more items...