labuladong / basic-challenge

200 stars 23 forks source link

已结束 #204

Closed labuladong closed 1 year ago

labuladong commented 1 year ago

本期打卡已结算完成。报名最新一期的打卡活动 点这里

xiaopeiyi0704 commented 1 year ago

leetcode 5 https://leetcode.com/problems/longest-palindromic-substring/discuss/2818646/two-pointers-brute-force-n2-java

leetcode 167 https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/discuss/2818467/two-pointer-java-O(n)

leetcode 344 https://leetcode.com/problems/reverse-string/discuss/2818383/Two-pointers-O(n)-java

xrwy2000 commented 1 year ago

力扣26 https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solution/by-wangsixian-2-gr5p/

xrwy2000 commented 1 year ago

力扣5 https://leetcode.cn/problems/longest-palindromic-substring/solution/by-wangsixian-2-agw5/

enoren111 commented 1 year ago

https://leetcode.cn/problems/kLl5u1/solutions/1973521/two-sum-in-order-by-schneiderlin-i-hlop/

ZechenM commented 1 year ago

https://leetcode.com/problems/remove-duplicates-from-sorted-array/solutions/2819131/topic/

linglinglv commented 1 year ago

leetcode 5: https://leetcode.cn/problems/longest-palindromic-substring/solution/5-by-linglinglv-duzz/ leetcode 283: https://leetcode.cn/problems/move-zeroes/solution/by-linglinglv-tzmt/ leetcode 167: https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted/solution/by-linglinglv-6f9g/

KKKKSHI30 commented 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

fhtbmw commented 1 year ago

LeetCode 167 https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted/solutions/1973761/cshuang-zhi-zhen-jie-jue-by-feng-huo-tai-tufz/

Brucewfq commented 1 year ago

力扣83题:https://leetcode.cn/problems/remove-duplicates-from-sorted-list/solutions/1973810/83-shan-chu-pai-xu-lian-biao-zhong-de-zh-igft/ 力扣26题:https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solutions/1973606/shan-chu-you-xu-shu-zu-zhong-de-zhong-fu-8lg6/

yuanfangluo commented 1 year ago

26:https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solutions/1973844/shu-zu-shuang-zhi-zhen-kuai-man-zhi-zhen-jz3c

run-forrest commented 1 year ago

27 : https://leetcode.com/problems/remove-element/discuss/2819774/fast-and-slow-solution

tianyuanzoe commented 1 year ago

https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/solutions/2819894/java-two-pointers-solution/

YangJiaCheng97 commented 1 year ago

技巧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/

XinrongHAN commented 1 year ago

https://leetcode.com/problems/remove-duplicates-from-sorted-array/discuss/2819999/javaslow-and-fast-pointers

lg785805788 commented 1 year ago

https://leetcode.cn/problems/longest-palindromic-substring/solutions/1974241/by-sad-ellisl0t-vko8/ 力扣第5题

Ethanim commented 1 year ago

Q26:https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solutions/1974338/26-shan-chu-you-xu-shu-zu-zhong-de-zhong-q4m8/

17870107715 commented 1 year ago

https://leetcode.cn/problems/remove-element/solution/yi-chu-yuan-su-by-flipped-5f-8zn4/

harryhook commented 1 year ago

Q167: https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted/solution/liang-shu-zhi-he-ii-shu-ru-you-xu-shu-zu-so3r/

wymann01 commented 1 year ago

https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solution/shua-ti-tiao-zhan-day2shuang-zhi-zhen-by-q8ba/

wesleyzen commented 1 year ago

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/

goahead656 commented 1 year ago

Q5:https://leetcode.cn/problems/longest-palindromic-substring/solution/by-liu-hua-w1-dfu2/

YoungLightMing commented 1 year ago

Q: 167: https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted/solution/by-younglightming-ni0w/

zjk1234 commented 1 year ago

Q5: https://leetcode.cn/problems/longest-palindromic-substring/solution/by-zjk123-g4ka/

JackyLiu-SCUT commented 1 year ago

https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solutions/1974938/shan-chu-you-xu-shu-zu-zhong-de-zhong-fu-2k55/

zhuguoliang commented 1 year ago

https://leetcode.com/problems/remove-duplicates-from-sorted-array/discuss/2820774/fast-slow-pointer-naive

https://leetcode.com/problems/remove-duplicates-from-sorted-list/discuss/2820788/fast-slow-pointer-solution

https://leetcode.com/problems/remove-element/discuss/2820826/fast-slow-pointer-solution

BenCode2019 commented 1 year ago

https://leetcode.cn/problems/remove-element/solutions/1974990/by-ben-172-gtdz/

elaineKuo commented 1 year ago

https://leetcode.cn/problems/remove-element/solution/yi-chu-yuan-su-by-mei-vampire-g6ki/ https://leetcode.cn/problems/move-zeroes/solution/yi-dong-ling-by-mei-vampire-2ujx/

Enemy-77 commented 1 year ago

https://leetcode.cn/problems/longest-palindromic-substring/solution/zui-chang-hui-wen-zi-chuan-by-wu-di-h0-4nz5/

fengmiaomiao123 commented 1 year ago

https://leetcode.cn/problems/remove-duplicates-from-sorted-list/solutions/1975171/kuai-man-zhi-zhen-jie-ti-by-flamboyant-d-uj0b/

lomanqqq commented 1 year ago
  1. 最长回文子串

https://leetcode.cn/problems/longest-palindromic-substring/solution/shuang-zhi-zhen-by-luo-luo-ke-f-3asf/

ZYao-UP commented 1 year ago

https://leetcode.cn/problems/remove-element/solutions/1975262/by-lzym-sfbq/

tta1993 commented 1 year ago

Q27:https://leetcode.com/problems/remove-element/solutions/2821314/topic/

sl106 commented 1 year ago

https://leetcode.com/problems/remove-duplicates-from-sorted-array/solutions/2821398/slow-and-fast-pointers/

sherryhxw commented 1 year ago

83.https://leetcode.cn/problems/remove-duplicates-from-sorted-list/solutions/1975458/83shan-chu-lian-biao-zhong-de-zhong-fu-y-fk6h/

helen-tao commented 1 year ago

Q26:https://leetcode.com/problems/remove-duplicates-from-sorted-array/solutions/2822303/php-26-remove-duplicates-from-sorted-array/

Abeltianxiong commented 1 year ago

https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solutions/1617993/by-abeltianxiong-k54a/

yh5155 commented 1 year ago

删除有序数组中的重复项: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/

syguo88 commented 1 year ago

Q5: https://leetcode.cn/problems/longest-palindromic-substring/solutions/1976238/zui-chang-hui-wen-chuan-by-guo-dong-5-uuih/

summer-like-coding commented 1 year ago

DAY02:https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted/solution/by-summer_5_8-kljo/

sallylyw commented 1 year ago

26. 删除有序数组中的重复项

woshilvyi commented 1 year ago

https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solutions/1976876/li-kou-26ti-shan-chu-you-xu-shu-zu-zhong-5u8h/

blueburble commented 1 year ago

Q26. https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solutions/1976871/shan-chu-you-xu-shu-zu-zhong-de-zhong-fu-zwpo/

jacewong commented 1 year ago

Q26: https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solution/shan-chu-pai-xu-shu-zu-by-chun-hei-wong-4fcn/

anqi0103 commented 1 year ago

LeetCode #26: https://leetcode.com/problems/remove-duplicates-from-sorted-array/discuss/2823883/Java-Two-Pointer-for-loop LeetCode #167: https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/discuss/2824408/Java-Two-Pointers

Colafornia commented 1 year ago

Q26: https://leetcode.com/problems/remove-duplicates-from-sorted-array/discuss/2824048/JavaScript-or-Two-pointers-solution

Q167: https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/discuss/2824134/JavaScript-or-Two-pointers

yuhuan0311 commented 1 year ago

Q26: https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solutions/1977230/shu-zu-shuang-zhi-zhen-by-yuhuan0311-q4zw/

pgh79 commented 1 year ago

Q27: https://leetcode.cn/problems/remove-element/solutions/1977359/by-chu-yi-yuan-0cmh/

winkydang commented 1 year ago

https://leetcode.cn/problems/remove-element/solutions/1843317/by-dxy-5n-t7a8/

huozk0804 commented 1 year ago

Q26:https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solutions/1977370/by-huozk0804-ycxl/ Q83:https://leetcode.cn/problems/remove-duplicates-from-sorted-list/solutions/1977391/by-huozk0804-v8vj/ Q27:https://leetcode.cn/problems/remove-element/solutions/1977440/by-huozk0804-zp6e/

guozhaoyang341 commented 1 year ago

https://leetcode.cn/problems/remove-duplicates-from-sorted-array/solutions/1977485/by-guozhaoyoung-h3bs/