2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
26. Remove Duplicates from Sorted Array 題目描述: 給定一個升序排列的陣列 nums,你需要原地刪除其中重複出現的元素,...
Day 13
2024-08-25
869
0
You are given an array of k linked-lists lists, each linked-list is sorted in a...
Day 28
2024-10-12
869
0
前言 嘿嘿~我們又回來啦!延續上次的 Longest Valid Parentheses 題目,這次我們要換個方式來解決。還記得上次我們用了動態規劃法嗎? 今...
Day 15
2024-08-24
865
0
70. Climbing Stairs 题目描述: 假設你正在爬樓梯,需要爬 n 階才能到達樓頂。每次你可以選擇爬 1 個或 2 個台階。請問有多少種不同的方法...
Day 10
2024-08-19
865
0
35. Search Insert Position 题目描述: 給定一個排序陣列和一個目標值,請在陣列中找到目標值,並返回其索引。如果目標值不在陣列中,則返回...
Day 25
2024-09-08
861
0
111. Minimum Depth of Binary Tree tags: Easy、Tree Given a binary tree, find its...