labuladong / basic-challenge

200 stars 22 forks source link

已结束 #217

Closed labuladong closed 1 year ago

labuladong commented 1 year ago

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

harryhook commented 1 year ago

Q104: https://leetcode.cn/problems/maximum-depth-of-binary-tree/solution/er-cha-shu-zui-da-shen-du-by-harryhook-6euo/

xiaopeiyi0704 commented 1 year ago

leetcode 543 https://leetcode.com/problems/diameter-of-binary-tree/discuss/2848178/Java-postorder-recurstion

leetcode 104 https://leetcode.com/problems/maximum-depth-of-binary-tree/discuss/2848188/java-postorder-recursion

leetcode 144 https://leetcode.com/problems/binary-tree-preorder-traversal/discuss/2848190/java-recursion

Brucewfq commented 1 year ago

力扣144题:https://leetcode.cn/problems/binary-tree-preorder-traversal/solutions/1991508/by-bruce_wan-gmk2/

ZechenM commented 1 year ago

https://leetcode.com/problems/maximum-depth-of-binary-tree/solutions/2848696/topic/

xrwy2000 commented 1 year ago

https://leetcode.cn/problems/diameter-of-binary-tree/solution/hou-xu-bian-li-huo-qu-zishu-by-wangsixia-ufvi/

helen-tao commented 1 year ago

Q104:https://leetcode.com/problems/maximum-depth-of-binary-tree/solutions/2848801/php-104-maximum-depth-of-binary-tree/

tianyuanzoe commented 1 year ago

https://leetcode.com/problems/diameter-of-binary-tree/solutions/2848804/java-recursion-solution/

goahead656 commented 1 year ago

Q543: https://leetcode.cn/problems/diameter-of-binary-tree/solution/by-liu-hua-w1-myca/ Q104: https://leetcode.cn/problems/maximum-depth-of-binary-tree/solution/er-cha-shu-de-by-liu-hua-w1-e10p/

fengmiaomiao123 commented 1 year ago

https://leetcode.cn/problems/diameter-of-binary-tree/solutions/1991930/er-cha-shu-de-hou-xu-bian-li-by-flamboya-mibh/

lomanqqq commented 1 year ago
  1. 二叉树的最大深度

https://leetcode.cn/problems/maximum-depth-of-binary-tree/solution/jian-dan-di-gui-javaban-ben-by-luo-luo-k-xy0f/

linglinglv commented 1 year ago

Q104:https://leetcode.cn/problems/maximum-depth-of-binary-tree/solution/104-by-linglinglv-xkav/ Q543:https://leetcode.cn/problems/diameter-of-binary-tree/solution/543-by-linglinglv-s8z6/

YangJiaCheng97 commented 1 year ago

Q104:https://leetcode.cn/problems/maximum-depth-of-binary-tree/solution/by-wu-yue-yjc-gkqh/ Q543:https://leetcode.cn/problems/diameter-of-binary-tree/solution/by-wu-yue-yjc-3pdu/

fhtbmw commented 1 year ago

LeetCode 104 https://leetcode.cn/problems/maximum-depth-of-binary-tree/solutions/1992298/di-gui-by-feng-huo-tai-j55x/

YoungLightMing commented 1 year ago

Q104: https://leetcode.cn/problems/maximum-depth-of-binary-tree/solution/suan-fa-xiao-bai-by-younglightming-jtlj/

17870107715 commented 1 year ago

104:https://leetcode.cn/problems/maximum-depth-of-binary-tree/solution/104-er-cha-shu-de-zui-da-shen-du-by-flip-3p8z/

Ethanim commented 1 year ago

https://leetcode.cn/problems/diameter-of-binary-tree/solutions/1992537/543-er-cha-shu-de-zhi-jing-by-shi-zhi-wa-527m/

zhuguoliang commented 1 year ago

https://leetcode.com/problems/maximum-depth-of-binary-tree/discuss/2850163/C%2B%2B-recursive

pgh79 commented 1 year ago

Q104: https://leetcode.cn/problems/maximum-depth-of-binary-tree/solutions/1992582/problem-104-er-cha-shu-de-zui-da-shen-du-7nxw/

Colafornia commented 1 year ago

Q543: https://leetcode.com/problems/diameter-of-binary-tree/discuss/2850220/Typical-JavaScript-recursion-solution

itismejustme commented 1 year ago
  1. 二叉树的最大深度 https://leetcode.cn/problems/maximum-depth-of-binary-tree/solutions/1992658/104-er-cha-shu-de-zui-da-shen-du-httpsle-n63n/
HaoyuBian commented 1 year ago

https://leetcode.cn/problems/binary-tree-preorder-traversal/solution/zhan-by-silly-poincareelt-pdv8/

ZYao-UP commented 1 year ago

https://leetcode.cn/problems/diameter-of-binary-tree/solutions/1992748/cshi-xian-by-lzym-a6cr/

winkydang commented 1 year ago

https://leetcode.cn/problems/maximum-depth-of-binary-tree/solutions/1883122/104-er-cha-shu-de-zui-da-shen-du-by-dxy-evz84/

KKKKSHI30 commented 1 year ago

Q104: https://leetcode.com/problems/maximum-depth-of-binary-tree/discuss/2851879/python-recursion-solution Q543: https://leetcode.com/problems/diameter-of-binary-tree/discuss/2851889/python-recursive-solution Q144:https://leetcode.com/problems/binary-tree-preorder-traversal/discuss/2851899/python-bfs-solution

sidankkirsten commented 1 year ago

https://leetcode.com/problems/maximum-depth-of-binary-tree/discuss/2852437/Python-recursive-solution

yh5155 commented 1 year ago

543: https://leetcode.cn/problems/diameter-of-binary-tree/solutions/1993415/er-cha-shu-de-zhi-jing-by-liu-zz9-viui/ 104: https://leetcode.cn/problems/maximum-depth-of-binary-tree/solutions/1993643/er-cha-shu-de-zui-da-shen-du-by-liu-zz9-vpth/ 144: https://leetcode.cn/problems/binary-tree-preorder-traversal/solutions/1993659/er-cha-shu-de-qian-xu-bian-li-by-liu-zz9-7fof/

woshilvyi commented 1 year ago

Q543:https://leetcode.cn/problems/diameter-of-binary-tree/solutions/1993865/li-kou-543ti-by-lu-yi-hfo-st5u/

yoco323 commented 1 year ago

q144 https://leetcode.com/problems/binary-tree-preorder-traversal/discuss/2852585/Java-recursion q104 https://leetcode.com/problems/maximum-depth-of-binary-tree/discuss/2852799/Java-recursive q 543 https://leetcode.com/problems/diameter-of-binary-tree/discuss/2852942/java-recursive

lg785805788 commented 1 year ago
  1. 二叉树的直径 https://leetcode.cn/problems/diameter-of-binary-tree/solutions/1993934/by-sad-ellisl0t-lphg/
li-positiveandfocus commented 1 year ago

543: https://leetcode.com/problems/diameter-of-binary-tree/discuss/2853190/Java-solution 104: https://leetcode.com/problems/maximum-depth-of-binary-tree/discuss/2853181/Java

Enemy-77 commented 1 year ago

https://leetcode.cn/problems/maximum-depth-of-binary-tree/solution/by-wu-di-h0-8vhy/

BenCode2019 commented 1 year ago

https://leetcode.cn/problems/maximum-depth-of-binary-tree/solutions/1942635/by-ben-172-mi80/

sherryhxw commented 1 year ago

https://leetcode.cn/problems/maximum-depth-of-binary-tree/solutions/1994483/104er-cha-shu-de-zui-da-shen-du-di-gui-b-3wss/

zhuguoliang commented 1 year ago

https://leetcode.com/problems/diameter-of-binary-tree/discuss/2853730/C%2B%2B-with-maxDepth

yuanfangluo commented 1 year ago

Q104:https://leetcode.cn/problems/maximum-depth-of-binary-tree/solutions/1994620/hui-su-suan-fa-by-sleetcode-vkbb/

tta1993 commented 1 year ago

Q104: https://leetcode.com/problems/maximum-depth-of-binary-tree/solutions/2853893/104-maximum-depth-of-binary-tree/

yuhuan0311 commented 1 year ago

Q104: https://leetcode.cn/problems/maximum-depth-of-binary-tree/solutions/1994699/er-cha-shu-di-gui-bian-li-by-yuhuan0311-2n82/ https://leetcode.cn/problems/maximum-depth-of-binary-tree/solutions/1994725/er-cha-shu-bian-li-by-yuhuan0311-o3ig/

Q 543:https://leetcode.cn/problems/diameter-of-binary-tree/solutions/1994788/er-cha-shu-hou-xu-bian-li-by-yuhuan0311-lv6d/

sallylyw commented 1 year ago

144. 二叉树的前序遍历

elaineKuo commented 1 year ago

Q104:https://leetcode.cn/problems/maximum-depth-of-binary-tree/solution/er-cha-shu-guandu-by-mei-vampire-lp2v/ Q144:https://leetcode.cn/problems/binary-tree-preorder-traversal/solution/er-cha-shu-de-qian-xu-bian-li-by-mei-vam-90tk/ Q543:https://leetcode.cn/problems/diameter-of-binary-tree/solution/by-mei-vampire-y4mf/

blueburble commented 1 year ago

Q 104: https://leetcode.cn/problems/maximum-depth-of-binary-tree/solutions/1994833/er-cha-shu-zui-da-kuan-du-by-friendly-po-pw3w/

anqi0103 commented 1 year ago

LeetCode #104: https://leetcode.com/problems/maximum-depth-of-binary-tree/discuss/2854045/Java-Recursive-Solution-(2-different-solution)

dapengzh54 commented 1 year ago

https://leetcode.cn/problems/diameter-of-binary-tree/solutions/1994834/hou-xu-bian-li-er-cha-shu-by-zhang-da-pe-9tgl/

dapengzh54 commented 1 year ago

https://leetcode.cn/problems/diameter-of-binary-tree/solutions/1994834/hou-xu-bian-li-er-cha-shu-by-zhang-da-pe-9tgl/

run-forrest commented 1 year ago

Q104: https://leetcode.com/problems/maximum-depth-of-binary-tree/discuss/2854110/recursive-java

Abeltianxiong commented 1 year ago

https://leetcode.cn/problems/binary-tree-preorder-traversal/solutions/1650889/by-abeltianxiong-a9e6/

jacewong commented 1 year ago

https://leetcode.cn/problems/binary-tree-preorder-traversal/solution/by-chun-hei-wong-tjrt/

summer-like-coding commented 1 year ago

https://leetcode.cn/problems/diameter-of-binary-tree/solution/ts-by-summer_5_8-dwm1/

XinrongHAN commented 1 year ago

https://leetcode.com/problems/diameter-of-binary-tree/discuss/2859085/java-DFS

syguo88 commented 1 year ago

Q543: https://leetcode.cn/problems/diameter-of-binary-tree/solutions/1998087/er-cha-shu-de-zhi-jing-er-cha-shu-de-hou-m9kw/

enoren111 commented 1 year ago

https://leetcode.cn/problems/maximum-depth-of-binary-tree/solutions/1998044/maximum-depth-for-binary-tree-by-schneid-f0qw/