468. 驗(yàn)證IP地址[https://leetcode-cn.com/problems/validate-ip-address/] 編寫(xiě)一個(gè)函數(shù)來(lái)驗(yàn)證輸入的字符串是否是有效...
468. 驗(yàn)證IP地址[https://leetcode-cn.com/problems/validate-ip-address/] 編寫(xiě)一個(gè)函數(shù)來(lái)驗(yàn)證輸入的字符串是否是有效...
劍指 Offer 64. 求1+2+…+n[https://leetcode-cn.com/problems/qiu-12n-lcof/] 求 1+2+...+n 湃崩,要求不能...
劍指 Offer 46. 把數(shù)字翻譯成字符串[https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-ch...
76. 最小覆蓋子串[https://leetcode-cn.com/problems/minimum-window-substring/] 給你一個(gè)字符串 s 蹦肴、一個(gè)字符串...
25. K 個(gè)一組翻轉(zhuǎn)鏈表[https://leetcode-cn.com/problems/reverse-nodes-in-k-group/] 給你一個(gè)鏈表黑滴,每 k 個(gè)節(jié)...
劍指 Offer 37. 序列化二叉樹(shù)[https://leetcode-cn.com/problems/xu-lie-hua-er-cha-shu-lcof/] 請(qǐng)實(shí)現(xiàn)兩個(gè)...
劍指 Offer 45. 把數(shù)組排成最小的數(shù)[https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de...
61. 旋轉(zhuǎn)鏈表[https://leetcode-cn.com/problems/rotate-list/] 給定一個(gè)鏈表一罩,旋轉(zhuǎn)鏈表装获,將鏈表每個(gè)節(jié)點(diǎn)向右移動(dòng) k 個(gè)位置肖爵,其...
54. 螺旋矩陣[https://leetcode-cn.com/problems/spiral-matrix/] 問(wèn)題描述 給你一個(gè) m 行 n 列的矩陣 matrix 芹啥,...
226. 翻轉(zhuǎn)二叉樹(shù)[https://leetcode-cn.com/problems/invert-binary-tree/] 問(wèn)題描述 翻轉(zhuǎn)一棵二叉樹(shù)。 解題思路 遞歸欢顷。...
206. 反轉(zhuǎn)鏈表[https://leetcode-cn.com/problems/reverse-linked-list/] 問(wèn)題描述 反轉(zhuǎn)一個(gè)單鏈表槽棍。 解題思路1-迭代...
191. 位1的個(gè)數(shù)[https://leetcode-cn.com/problems/number-of-1-bits/] 問(wèn)題描述 編寫(xiě)一個(gè)函數(shù),輸入是一個(gè)無(wú)符號(hào)整數(shù)(以...
343. 整數(shù)拆分[https://leetcode-cn.com/problems/integer-break/] 問(wèn)題描述 給定一個(gè)正整數(shù) n,將其拆分為至少兩個(gè)正整數(shù)的...
79. 單詞搜索[https://leetcode-cn.com/problems/word-search/] 題目描述 給定一個(gè)二維網(wǎng)格和一個(gè)單詞刹泄,找出該單詞是否存在于網(wǎng)格...
240. 搜索二維矩陣 II[https://leetcode-cn.com/problems/search-a-2d-matrix-ii/] 問(wèn)題描述 編寫(xiě)一個(gè)高效的算法來(lái)...
1. 兩數(shù)之和[https://leetcode-cn.com/problems/two-sum/] 今日主題:數(shù)組 問(wèn)題描述 給定一個(gè)整數(shù)數(shù)組 nums 和一個(gè)整數(shù)目標(biāo)值 ...
今日主題:字符串外里。 344. 反轉(zhuǎn)字符串[https://leetcode-cn.com/problems/reverse-string/] 問(wèn)題描述 編寫(xiě)一個(gè)函數(shù),其作用是...
今日主題:鏈表特石。 147. 對(duì)鏈表進(jìn)行插入排序[https://leetcode-cn.com/problems/insertion-sort-list/] 問(wèn)題描述 對(duì)鏈表...