LeetCode
文章平均质量分 62
angelof7
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[LeetCode] Minimum Window Substring
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). For example, S = "ADOBECODEBANC" T = "ABC" Minimum window is "BANC"原创 2015-03-10 11:30:41 · 529 阅读 · 0 评论 -
[LeetCode] Rank Scores - SQL
Write a SQL query to rank scores. If there is a tie between two scores, both should have the same ranking. Note that after a tie, the next ranking number should be the next consecutive integer value.原创 2015-03-10 21:18:19 · 998 阅读 · 0 评论 -
[LeetCode] Consecutive Numbers - SQL
Write a SQL query to find all numbers that appear at least three times consecutively. +----+-----+ | Id | Num | +----+-----+ | 1 | 1 | | 2 | 1 | | 3 | 1 | | 4 | 2 | | 5 | 1 | | 6 | 2原创 2015-03-10 20:38:50 · 1247 阅读 · 0 评论 -
[LeetCode] Department Highest & Top 3 Salary - SQL
The Employee table holds all employees. Every employee has an Id, a salary, and there is also a column for the department Id. +----+-------+--------+--------------+ | Id | Name | Salary | Department原创 2015-03-10 21:56:35 · 820 阅读 · 0 评论
分享