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.
How does [2,4,3] result in [2,4,6]? I must be misunderstanding the question completely. I wouldd have thought it should result in [3,6,6]]
Apologies, I'm an SQL newbie. Shouldn't the name of the table containing the demographics records be provided? I thought I would have to query a table in order to count by unique race. Or perhaps I'm misunderstanding what is required..
This comment is hidden because it contains spoiler information about the solution
I've struck a problem running my code. Nothing happens! It runs fine in my IDE. Any suggestions would be great.
Also,some of the test examples are listed below. The 2 here have answers that I find puzzling. Are they correct?
Test.it("Basic tests")
Test.assert_equals(solve(3),3)
Test.assert_equals(solve(11),11)
The instructions say that if 2 numbers are equidistant from the start and are both primes, then the result should be the lower of the 2.
But then in the tests it gives solve(2) = 3. Shouldn't it be solve(2) = 1?