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.
Approved by someone
Trying this kata...
IMHO VERY strange to return a C++ nice structure; and to pass a C-like [] etc...
a vector<tuple <x,y,z>> would be great :-)
2 years later, still no image =/
Missing random tests ;-)
Sample tests relies on the existence of
using namespace std;
in user code to work.Please, approve my Java Translation.
I'm struggling with this "roulette wheel selection" concept. The probability of selection of a given chromossome 'i' is fitness(i) / sum(fitnesses), right? But in this kata, this would result in a really small number.
My algorithm works, but it takes around 10.000 iterations to guarantee the result for every test.
This comment is hidden because it contains spoiler information about the solution
It is common problem in CodeWars. Me as a newbie found it super super Hard, and it demoralize
Absolutely not. A kata is as hard as its easiest solution. Also, kata can't be reranked.
I really this kata due to its difficult and challenge of the solution which could be in a various way. I personally think this kata could upgrade to 6kyu at least.
For those who have some experienced with programming. I mean not for the beginner.
Python expects any falsy result, JS expects only 0, PHP says "return
0
", but expects any falsy value. What is this?Wow!! ππππππ
Perfect. Thank you!
I've forked it. This should be approvable.
Loading more items...