Closed labuladong closed 1 year ago
Q26: https://leetcode.com/problems/remove-duplicates-from-sorted-array/discuss/2818631/Python-two-pointer-solution Q83: https://leetcode.com/problems/remove-duplicates-from-sorted-list/discuss/2818653/Python-two-pointer-solution Q27: https://leetcode.com/problems/remove-element/discuss/2818685/Python-two-pointer-solution Q283: https://leetcode.com/problems/move-zeroes/discuss/2819061/python-no-extra-space-solution Q167: https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/discuss/2819222/Python-two-pointer-solution Q344: https://leetcode.com/problems/reverse-string/discuss/2819254/python-two-pointer-solution Q5: https://leetcode.com/problems/longest-palindromic-substring/discuss/2819424/Python-start-from-the-central
技巧1:快慢指针技巧 原地修改数组 Q26:https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solution/by-wu-yue-yjc-vs0a/ Q83:https://leetcode.cn/problems/remove-duplicates-from-sorted-list/solution/by-wu-yue-yjc-4vlv/ Q27:https://leetcode.cn/problems/remove-element/solution/by-wu-yue-yjc-7ebd/ Q283:https://leetcode.cn/problems/move-zeroes/solution/by-wu-yue-yjc-6w4h/ 技巧2:左右指针的常用算法 1、二分查找 一左一右两个指针相向而行 2、两数之和 Q167:https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted/solution/by-wu-yue-yjc-rb1q/ 3、反转数组 Q344:https://leetcode.cn/problems/reverse-string/solution/by-wu-yue-yjc-kdar/ 4、回文串判断 Q5:https://leetcode.cn/problems/longest-palindromic-substring/solution/by-wu-yue-yjc-m2d2/
Q167:https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted/solution/-by-wesleyzen-uikp/ Q26:https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solution/-by-wesleyzen-6df0/ Q27:https://leetcode.cn/problems/remove-element/solution/shuang-zhi-zhen-kuai-man-zhi-zhen-by-wes-ccxs/ Q283:https://leetcode.cn/problems/move-zeroes/solution/-by-wesleyzen-iq7h/ Q344:https://leetcode.cn/problems/reverse-string/solution/shuang-zhi-zhen-zuo-you-zhi-zhen-by-wesl-bj0v/
删除有序数组中的重复项:https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solutions/1975906/by-liu-zz9-9ln4/ 移动零:https://leetcode.cn/problems/move-zeroes/solutions/1975990/by-liu-zz9-ens2/ 两数之和:https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted/solutions/1976019/liang-shu-zhi-he-by-liu-zz9-u0n7/ 最长回文子串:https://leetcode.cn/problems/longest-palindromic-substring/solutions/1976159/by-liu-zz9-uwo1/
本期打卡已结算完成。报名最新一期的打卡活动 点这里