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);
1 is not a prime number. Its probably the problem here.
It seems I have made a mistake. 1 Is not a prime number as I thought.
This comment is hidden because it contains spoiler information about the solution
why the solutions dont work when I do console.log(omnibool == true) or vice versa?
Check if you correctly include/exclude upper (and lower) bound of the range in your answer.
same bro
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?
149 is the internal points you get for rank progress. You get 32 honor for solving blue katas (3 and 4 kyu). The points displayed is honor.
C translation kumited. Author is inactive.
82_harsh: Then your code is the problem. Probably your sorting algorithm isn't right.
B1ts: The input will consist of unique values.
JS tests are fine. You must be failing some edge cases (maybe repeating numbers?)
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.
Loading more items...