Ad
  • Default User Avatar

    Agreed, I only checked for 0's and it passed the tests...

  • Default User Avatar

    My bad, I'm new to Java, I thought return nil meant that, thank you.

  • Default User Avatar

    It won't let me write it, but List has type of elements long[] and the little arrow is pointing at "L" of the word List.

  • Default User Avatar

    Hi. Im not sure if it's just some dumb problem on my side, but whenever I try to run the tests or attempt(Java), it throws this compilation error(even if there's just return null in the method):

    /home/codewarrior/src/main/java/RemovedNumbers.java:3: error: cannot find symbol
    public static List<long[]> removNb(long n) {
    ^
    symbol: class List
    location: class RemovedNumbers

    Thanks.