1、题目名称 Rank Scores(按分数排名次) 2、题目地址 https://leetcode.com/problems/rank-scores/ 3、题目内容 按分数排名次,如果两个Id的分数一样,那么他们的名次是一样的,排名从1开始。注意,每组分数的名...
分类:
其他好文 时间:
2015-08-16 23:34:29
阅读次数:
682
problem 167 & 170 from leetcode; https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/ https://leetcode.com/problems/two-sum-iii-data-structure-design/ 先来看简单的167:给定一个排好序的数...
分类:
编程语言 时间:
2015-08-16 18:32:12
阅读次数:
154
1、题目名称 Duplicate Emails(重复出现的Email) 2、题目地址 https://leetcode.com/problems/duplicate-emails/ 3、题目内容 有一个数据表包括Id和Email两列,找出数据表内Email列内容重复出现的Email数据。 ...
分类:
其他好文 时间:
2015-08-16 16:53:01
阅读次数:
106
1、题目名称 Employees Earning More Than Their Managers(比领导工资还高的员工) 2、题目地址 https://leetcode.com/problems/employees-earning-more-than-their-managers/ 3、题目内容 Employee表的结构包含...
分类:
其他好文 时间:
2015-08-16 15:19:38
阅读次数:
118
Exponentiation
Time Limit: 500MS
Memory Limit: 10000K
Total Submissions: 147507
Accepted: 36006
Description
Problems involving the computation of exact values of very l...
分类:
其他好文 时间:
2015-08-16 15:16:54
阅读次数:
114
A boy named Gena really wants to get to the “Russian Code Cup” finals, or at least get a t-shirt. But the offered problems are too complex, so...
分类:
其他好文 时间:
2015-08-16 15:07:04
阅读次数:
162
1、题目名称 Nth Highest Salary(第N高的工资) 2、题目地址 https://leetcode.com/problems/nth-highest-salary/ 3、题目内容 与这道题目相比,上一道题目“Second Highest Salary”是本题在N=2时的特例。两道题...
分类:
其他好文 时间:
2015-08-16 13:57:56
阅读次数:
139
1、题目名称 Second Highest Salary(第二高的工资) 2、题目地址 https://leetcode.com/problems/second-highest-salary/ 3、题目内容 现在有一张记录了Id(主键)和Salary(工资)的表,求出其中第二高的工资。...
分类:
其他好文 时间:
2015-08-16 12:29:57
阅读次数:
178
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3469
Food Delivery
Time Limit: 2 Seconds
Memory Limit: 65536 KB
When we are focusing on solving problems, we usually p...
分类:
其他好文 时间:
2015-08-16 09:27:17
阅读次数:
110
1、题目名称 Combine Two Tables(跨表查询) 2、题目地址 https://leetcode.com/problems/combine-two-tables/ 3、题目内容 现在有两张表Person和Address,它们的表结构如下: 表Person: +-------------+-----...
分类:
其他好文 时间:
2015-08-15 20:12:37
阅读次数:
129