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.
https://www.w3schools.com/css/css_pseudo_elements.asp
Note: As a rule, double colons (::) should be used instead of a single colon (:). This distinguishes pseudo-classes from pseudo-elements. However, since this distinction was not present in older versions of the W3C spec, most browsers support both syntaxes for the original pseudo-elements.
The line must end with ' . ', and in this solution, the line ends by pressing the enter button. Suddenly the user decided to split the long input into two parts.
"At least one letter character at the beginning"
Why fill the solution Array and make a break, when you can just return an Array? ( return [prev_prime, i])
Thanks for your feedback!
Agree, definitely nice as it makes you think about the nature and sequence of primes (these abstract mathematical patterns can emerge themselves in the real-world quite often). Getting to know primes better is definitely a good exercise.
As for AntraxMiope, are you still stuck? If so, think about how to speed up your algorithm for prime checking.
That's great. All my solutions are being rejected (Timeout or memory error).
Could you give some pointers?
works great! Thanks for the quick fix.
Fixed. Could you tell me if it works for you now? Thanks for the feedback!
The Random tests are all failing for me with the following error.....
Random tests
Testing Step:
ReferenceError: prime is not defined
at stepSol
at Object.Test.it
at Object.Test.describe
Liked this one, and it made me update my logic for checking Prime'ness, since my original took to long to run for the larger numbers.
Doesn't actally have anything to do with
Math.random
. You just need to fix syntax errors.Test Cases added, thanks to @ZozoFouchtra. I appreciate your feedback, thank you!
Thank you for the feedback and the addition of Tests Cases! I had some trouble understanding how the Test Case section properly works. Now I have a better understanding, thanks again.
This comment is hidden because it contains spoiler information about the solution
Loading more items...