Ad
  • Custom User Avatar

    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]]

  • Custom User Avatar

    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..

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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)

  • Custom User Avatar

    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?