Leetcode刷题
文章平均质量分 94
撇。( •̀ .̫ •́ )✧
这个作者很懒,什么都没留下…
展开
-
【Leetcode刷题】240.Search a 2D Matrix II 搜索二维矩阵 II
【Leetcode刷题】240.Search a 2D Matrix II 搜索二维矩阵 IILink: leetcode240Link: 力扣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 · 302 阅读 · 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 · 477 阅读 · 2 评论