2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 30
2024-10-14
856
0
前言 今天我們要來解一個二元樹的題目,叫做 Symmetric Tree。 這題其實還滿有趣的,因為它要我們檢查一棵樹是不是「對稱的」,也就是說這棵樹的左邊...
應該會暫時刷Linked List相關的LeetCode全部的easy題目,等到刷完再換其他類型,都刷完Easy之後,就該挑戰一下Medium~ 234. Pa...
Day 30
2024-08-30
847
0
HardRelated Topics: Graph / Heap (Priority Queue) / Shortest PathLeetCode Sourc...
Day 26
2024-09-09
832
0
559. Maximum Depth of N-ary Tree tags: Easy、Tree Given a n-ary tree, find its m...
Day 12
2024-08-26
828
0
961. N-Repeated Element in Size 2N Array tags: Easy、Sizeof You are given an int...
20. Valid Parentheses 題目描述: 給定一個只包含 '('、')'、'{'、'}'、'[' 和 ']' 的字符串 s,判斷字符串是否有效。...