討論串[閒聊] 每日LeetCode
共 719 篇文章

推噓1(1推 0噓 1→)留言2則,0人參與, 2年前最新作者Rushia (みけねこ的鼻屎)時間2年前 (2023/07/23 13:02), 2年前編輯資訊
0
2
1
內容預覽:
https://leetcode.com/problems/all-possible-full-binary-trees/description/. 894. All Possible Full Binary Trees. 給你一個數字 n ,找出所有合法的Full Binary Trees,他被定
(還有1484個字)

推噓4(4推 0噓 1→)留言5則,0人參與, 2年前最新作者Rushia (みけねこ的鼻屎)時間2年前 (2023/07/22 22:13), 2年前編輯資訊
0
3
1
內容預覽:
https://leetcode.com/problems/knight-probability-in-chessboard/description/. 688. Knight Probability in Chessboard. 給你一個數字 n 表示一個 n x n 的西洋棋盤,他的座標用 0-
(還有2597個字)

推噓1(1推 0噓 1→)留言2則,0人參與, 2年前最新作者yam276 (史萊哲林的優等生)時間2年前 (2023/07/21 17:55), 編輯資訊
0
0
1
內容預覽:
寫完了感覺還是只懂一半. 知道在幹嘛但要我自己寫可能會卡住. Code:. impl Solution. {. pub fn find_number_of_lis(nums: Vec<i32>) -> i32. {. let nums_size = nums.len();. if nums_size
(還有986個字)

推噓0(0推 0噓 1→)留言1則,0人參與, 2年前最新作者Rushia (みけねこ的鼻屎)時間2年前 (2023/07/21 15:16), 2年前編輯資訊
0
1
1
內容預覽:
https://leetcode.com/problems/number-of-longest-increasing-subsequence/description/673. Number of Longest Increasing Subsequence. 給你一個陣列找出這個陣列的最長遞增子序列
(還有1659個字)

推噓0(0推 0噓 2→)留言2則,0人參與, 2年前最新作者yam276 (史萊哲林的優等生)時間2年前 (2023/07/21 01:07), 2年前編輯資訊
0
1
0
內容預覽:
735. Asteroid Collision. We are given an array asteroids of integers representing asteroids in a row.. For each asteroid, the absolute value represent
(還有2646個字)