12 2019 档案
摘要:https://www.acwing.com/problem/content/description/150/ 哈夫曼树可以通过小根堆实现。小根堆每次弹出两个值,然后将二者的和再插入小根堆中。 比如求
阅读全文
摘要:求每个部门工资前三的员工 参考链接:https://leetcode-cn.com/problems/department-top-three-salaries/solution/185-bu-men-gong-zi-qian-san-gao-de-yuan-gong-by-li/ SELECT D
阅读全文
摘要:https://leetcode-cn.com/problems/department-highest-salary/ 求组内最大值,可以不使用exist,in前面可以用的多个字段筛选。
阅读全文