
Leetcode刷题
文章平均质量分 94
撇。( •̀ .̫ •́ )✧
这个作者很懒,什么都没留下…
展开
-
【Leetcode刷题】240.Search a 2D Matrix II 搜索二维矩阵 II
【Leetcode刷题】240.Search a 2D Matrix II 搜索二维矩阵 II Link: leetcode240 Link: 力扣240 问题描述 相关Topics: Binary Search 二分查找,Divide and Conquer 分治算法 Write an efficient algorithm that searches for a target value in an m x n integer matrix. The matrix has the following p原创 2021-03-02 01:17:16 · 352 阅读 · 0 评论 -
【Leetcode刷题】277. Find the Celebrity 搜寻名人
【Leetcode刷题】277. Find the Celebrity 搜寻名人 Link: leetcode277 (English version, 中文站需会员) 问题描述 相关Topics: Array, 贪心算法 Suppose you are at a party with n people (labeled from 0 to n - 1), and among them, there may exist one celebrity. The definition of a celebrity原创 2021-02-28 15:11:53 · 529 阅读 · 2 评论