討論串[閒聊] 每日LeetCode
共 719 篇文章
內容預覽:
https://leetcode.com/problems/design-a-food-rating-system/description. 2353. Design a Food Rating System. 設計一個食物排名系統。. FoodRatings(String[] foods, Str
(還有2134個字)
內容預覽:
https://leetcode.com/problems/valid-anagram/description. 242. Valid Anagram. 給你兩個字串,判斷這兩個字串是不是可以透過交換字元位置相等。. 思路:. 1.字串長度不同不可能相同返回false,統計兩個字元的字元數量,不相等
(還有570個字)
內容預覽:
https://leetcode.com/problems/destination-city. 1436. Destination City. 給你一個列表 paths,paths[i] = [cityAi, cityBi] 表示城市A有一條路可以到城市B,找出一個城市,這個城市不存在到其他城市的路
(還有549個字)
內容預覽:
https://leetcode.com/problems/difference-between-ones-and-zeros-in-row-and-column/description2482. Difference Between Ones and Zeros in Row and Column
(還有1039個字)
內容預覽:
https://leetcode.com/problems/special-positions-in-a-binary-matrix/description1582. Special Positions in a Binary Matrix. 給你一個二維陣列表示的矩陣mat,如果一個點他的上下左右
(還有1028個字)