2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 14
2024-09-14
735
0
題目 Leetcode 2024/09/14 Daily2419. Longest Subarray With Maximum Bitwise AND難度: 中...
題目: 這題要求在給定的字串中找到第一個不重複的字元,並回傳它的索引。如果不存在不重複字元,則回傳 -1。 解題思路 使用 hasp map (unordere...
Problem : Given the root of a binary tree, determine if it is a valid binary sea...
Day 25
2024-09-03
733
0
112. Path Sum 题目描述: 給定一個二元樹的根節點 root 和一個整數 targetSum,判斷該樹中是否存在從根節點到葉子節點的路徑,使得這條路...
Day 15
2024-09-29
731
0
原文題目 Given an integer array nums and an integer k, return the k most frequent el...
Day 11
2024-08-11
730
0
HardRelated Topics: Array / DFS / BFS / Matrix / Strongly Connected ComponentLe...