![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
文章平均质量分 70
zhangshjzzz
这个作者很懒,什么都没留下…
展开
-
690. Employee Importance
内容:You are given a data structure of employee information, which includes the employee's unique id, his importance value and his directsubordinates' id.For example, employee 1 is the leader of employe原创 2018-01-19 05:26:54 · 349 阅读 · 0 评论 -
169. Majority Element
内容:Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the array is non-empty and the majority element alw原创 2018-01-19 05:27:16 · 201 阅读 · 0 评论 -
53. Maximum Subarray
内容:Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array [-2,1,-3,4,-1,2,1,-5,4],the contiguous subarray [4,-1,2,1] has t原创 2018-01-19 05:27:29 · 835 阅读 · 0 评论 -
310. Minimum Height Trees
内容:For a undirected graph with tree characteristics, we can choose any node as the root. The result graph is then a rooted tree. Among all possible rooted trees, those with minimum height are called m原创 2018-01-19 05:27:38 · 271 阅读 · 0 评论 -
133. Clone Graph
内容:Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.OJ's undirected graph serialization:Nodes are labeled uniquely.We use # as a separator for each node,原创 2018-01-19 05:27:46 · 181 阅读 · 0 评论 -
621. Task Scheduler
内容:Given a char array representing tasks CPU need to do. It contains capital letters A to Z where different letters represent different tasks.Tasks could be done without original order. Each task coul原创 2018-01-19 05:28:01 · 1889 阅读 · 0 评论 -
738. Monotone Increasing Digits
内容:Given a non-negative integer N, find the largest number that is less than or equal to N with monotone increasing digits.(Recall that an integer has monotone increasing digits if and only if each pa原创 2018-01-19 05:28:08 · 222 阅读 · 0 评论 -
649. Dota2 Senate
内容:In the world of Dota2, there are two parties: the Radiant and the Dire.The Dota2 senate consists of senators coming from two parties. Now the senate wants to make a decision about a change in the D原创 2018-01-19 05:28:16 · 369 阅读 · 0 评论