mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-19 12:06:48 +08:00
存量题库数据更新
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<p>A <strong>chessboard board</strong> is a board where no <code>0</code>'s and no <code>1</code>'s are 4-directionally adjacent.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2021/06/29/chessboard1-grid.jpg" style="width: 500px; height: 145px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> board = [[0,1,1,0],[0,1,1,0],[1,0,0,1],[1,0,0,1]]
|
||||
@@ -15,7 +15,7 @@ The first move swaps the first and second column.
|
||||
The second move swaps the second and third row.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2021/06/29/chessboard2-grid.jpg" style="width: 164px; height: 165px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> board = [[0,1],[1,0]]
|
||||
@@ -23,7 +23,7 @@ The second move swaps the second and third row.
|
||||
<strong>Explanation:</strong> Also note that the board with 0 in the top left corner, is also a valid chessboard.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2021/06/29/chessboard3-grid.jpg" style="width: 164px; height: 165px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> board = [[1,0],[1,0]]
|
||||
|
Reference in New Issue
Block a user