How to calculate valid battleships?

  • 0

    I don't understand how to calculate the valid battleships on the board.
    Can someone explain with an example that is not already mentioned in the question description?

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.