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.
Thank's every one for reply I got the problem. It was in checking if a number is Prime or not what I did was check i < Math.sqrt(n) which should have been i <= Math.sqrt(n).
hobovsky that was the first thing that I chacked still no luck , I am probably doing similar silly mistake here, I will try again.
Not a chance because this is also the case where the '1' is not supposed to be tested , for eg (48,2838);
why the solutions dont work when I do console.log(omnibool == true) or vice versa?
My solution paases ~60% of final tests on submit but rest of ~40% results are off by 1 from the expected results. ie if the Expected result if 44 , my function outputs 45
Strangest part is my wrong results are only off by 1
Any suggestions?
My JS algorithm can successfully qualify 101/108 test cases however for few test cases (minor) my algorithm doesn't seems to function as expected my result is out order but is similar to expected result but yet not deeply equal. According to me It shoud have passed the test . So I request the author to verify the results.
I recently completed an 3kyu kata "Alphabetic Anagrams" . As per the codewars Ranking & Honor . My score should have been increased by 149. But instead it increased by ~28. Please let me know the reason for it.
I wanted to know once the "game over" occurs, how is the state of the variables holding the values ie location of "square" is reset?
Also I am getting few random errors for eg after passing more than ~(50 - 150) tests I get errors where my program outputs wrong "square" value or wrong "player" itself.
If my program can pass upto 50 tests continuously then, why do I get random errors?
Thanks