- 博客(3)
- 收藏
- 关注
原创 LEETCODE-89. 格雷编码
class Solution: def grayCode(self, n: int) -> List[int]: res,head = [0],1 for i in range(n): for j in range(len(res)-1,-1,-1): #range计算时进行判别,每次取i时固定一个j的range res.append(head+res[j]) head <<=...
2019-08-08 15:48:57 69
翻译 LEETCODE 181. 超过经理收入的员工
select e1.Name as Employee from Employee as e1 ,Employee as e2 where e1.ManagerId=e2.Id AND e1.Salary>e2.Salary ***as Employee***指使用 Employee作为搜索出的e1.Name的表头
2019-06-06 00:03:09 96 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人