2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 13
2024-09-27
463
0
原文題目You are given an m x n grid where each cell can have one of three values:...
Problem : There is an integer array nums sorted in ascending order (with distinc...
原文題目Given the root of a binary tree, return the inorder traversal of its nodes'...
Day 30
2024-10-14
462
0
題目: 問題描述: 在一個 m x n 的網格中,你位於網格的左上角 (0, 0),需要移動到右下角 (m-1, n-1)。每次只能向右或向下移動,求有多少種不...
Day 21
2024-10-05
461
0
解題程式碼 var kSmallestPairs = function (nums1, nums2, k) { const res = []; cons...
Day 27
2024-10-11
460
0
題目 143:「重排鏈結串列 (Reorder List)」要求我們對單向鏈結串列進行重新排列,使得節點順序變為 L0 → Ln → L1 → Ln-1 → L...