diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -308,7 +308,6 @@ </h1> </div> - <div class="article-entry text-muted" itemprop="description">链表需要注意的问题: 边界: 头结点尾结点的处理,链表长度为1时的处理 多画图,跟一次循环,边界情况也画图试试 思路大多都是 快慢指针 No.19 => Remove Nth Node From End of</div> <p class="article-meta"> <span class="article-date"> <i class="icon icon-calendar-check"></i> @@ -338,14 +337,13 @@ <div class="article-header"> <h1 itemprop="name"> <a - class="article-date" + class="article-title" href="/hugo-theme-pure/2019/12/array/" >「LeetCode」数组题解</a > </h1> </div> - <div class="article-entry text-muted" itemprop="description">Easy => 1252. Cells with Odd Values in a Matrix public int oddCells(int n, int m, int[][] indices) { boolean[] oddRows = new boolean[n]; boolean[] oddCols = new boolean[m]; for(int[] item : indices) { // 遍历 indices 获取每一列每一行的出现次数是否为奇数 // 异或: 相同为0 不同为1 oddRows[item[0]] ^=</div> <p class="article-meta"> <span class="article-date"> <i class="icon icon-calendar-check"></i> |