deamn
deamn
全部文章
分类
题解(16)
归档
标签
去牛客网
登录
/
注册
deamn的博客
全部文章
(共15篇)
题解 | #兑换零钱(一)#
简单的动态规划思想 class Solution: def minMoney(self , coins: List[int], amount: int) -> int: dp=[float('inf')]*(amount+1) dp[0]=0 ...
Python3
2022-05-04
3
335
题解 | #三数之和#
采用双指针的方法,并进行排序保证没有重复 class Solution: def threeSum(self , num: List[int]) -> List[List[int]]: # write code here n=len(num) ...
Python3
2022-05-04
0
300
题解 | #三数之和#
class Solution: def threeSum(self , num: List[int]) -> List[List[int]]: # write code here num.sort() res=[] n=l...
Python3
2022-05-03
0
310
题解 | #实习广场投递简历分析(三)#
需要注意的是比如date_sub("2021-01",interval 1 year) 是没用的 select t1.job ,t1.first_year_mon , t1.first_year_cnt , t2.second_year_mon,t2.second_year_cnt from (se...
Mysql
2022-05-03
0
262
题解 | #牛客的课程订单分析(七)#
采取union 将groupbuy和其他渠道的分开统计 采用窗口函数 select "GroupBuy" as source, sum(case when is_group_buy="Yes" then 1 else 0 end) as cnt from (select user_id,produ...
Mysql
2022-05-03
1
319
首页
上一页
1
2
下一页
末页