leetcode 176. Second Highest Salary
摘要:
https://leetcode.com/problems/second-highest-salary/description/ 题目要求输出第二大的成绩。 首先可以想到去重,然后排序,相当于输出第二个成绩。 这个用limit a offset b表示,从第b项开始,选出a个,下标从0开始 然后,如 阅读全文
posted @ 2017-11-21 20:33 stupid_one 阅读(376) 评论(0) 推荐(0) 编辑