Leetcode題解:419. Battleships in a Board

Leetcode題解:419. Battleships in a Board 難度:Mediumweb 題目 Given an 2D board, count how many different battleships are in it. The battleships are represented with ‘X’s, empty slots are represented with ‘.
相關文章
相關標籤/搜索