You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The matrix is not formatted properly in terminal-leetcode.
HTML source:
<divclass="question-description">
--
| <p><p>Given a 2d grid map of <code>'1'</code>s (land) and <code>'0'</code>s (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surrounded by water.</p>
|
| <p><i><b>Example 1:</b></i></p>
| <pre>11110<br>11010<br>11000<br>00000</pre>
| <p>Answer: 1</p>
| <p><i><b>Example 2:</b></i></p>
| <pre>11000<br>11000<br>00100<br>00011</pre>
| <p>Answer: 3</p>
|
| <p><b>Credits:</b><br/>Special thanks to <ahref="https://leetcode.com/discuss/user/mithmatt">@mithmatt</a> for adding this problem and creating all test cases.</p></p>
| </div>
The text was updated successfully, but these errors were encountered:
The matrix is not formatted properly in terminal-leetcode.
HTML source:
The text was updated successfully, but these errors were encountered: