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

推噓1(1推 0噓 1→)留言2則,0人參與, 2年前最新作者Rushia (みけねこ的鼻屎)時間2年前 (2023/12/18 01:33), 編輯資訊
0
1
1
內容預覽:
https://leetcode.com/problems/design-a-food-rating-system/description. 2353. Design a Food Rating System. 設計一個食物排名系統。. FoodRatings(String[] foods, Str
(還有2134個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者Rushia (みけねこ的鼻屎)時間2年前 (2023/12/16 19:28), 編輯資訊
0
1
1
內容預覽:
https://leetcode.com/problems/valid-anagram/description. 242. Valid Anagram. 給你兩個字串,判斷這兩個字串是不是可以透過交換字元位置相等。. 思路:. 1.字串長度不同不可能相同返回false,統計兩個字元的字元數量,不相等
(還有570個字)

推噓1(1推 0噓 0→)留言1則,0人參與, 2年前最新作者Rushia (みけねこ的鼻屎)時間2年前 (2023/12/15 09:52), 編輯資訊
0
1
1
內容預覽:
https://leetcode.com/problems/destination-city. 1436. Destination City. 給你一個列表 paths,paths[i] = [cityAi, cityBi] 表示城市A有一條路可以到城市B,找出一個城市,這個城市不存在到其他城市的路
(還有549個字)

推噓2(2推 0噓 1→)留言3則,0人參與, 2年前最新作者Rushia (みけねこ的鼻屎)時間2年前 (2023/12/14 20:10), 2年前編輯資訊
0
1
1
內容預覽:
https://leetcode.com/problems/difference-between-ones-and-zeros-in-row-and-column/description2482. Difference Between Ones and Zeros in Row and Column
(還有1039個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者Rushia (みけねこ的鼻屎)時間2年前 (2023/12/13 13:42), 編輯資訊
0
1
1
內容預覽:
https://leetcode.com/problems/special-positions-in-a-binary-matrix/description1582. Special Positions in a Binary Matrix. 給你一個二維陣列表示的矩陣mat,如果一個點他的上下左右
(還有1028個字)