LeetCode178——分数排名

我的LeetCode代码仓:https://github.com/617076674/LeetCode 原题链接:https://leetcode-cn.com/problems/rank-scores/description/ 题目描述: 知识点:SQL变量、子查询、JOIN内连接查询 思路一:子查询查询名次 注意题目要求,名次之间不应该有“间隔”。 时间复杂度是O(n ^ 2),其中n为表中的
相关文章
相关标签/搜索