Ad
  • Default User Avatar

    I have written the code and tested it on my IDE with diagonal collisions, illegal number of ships, and illegal sizes. The sample tests worked but for the other two i always fail. Am I missing something?

    (Im using Java 11)

  • Default User Avatar

    I did the same thing but got a time-out error, so I figured my comde was inefficient.
    How did you get it to work?