ForHeart
ForHeart
全部文章
分类
归档
标签
去牛客网
登录
/
注册
ForHeart的博客
TA的专栏
153篇文章
31人订阅
进阶高级测试工程师
142篇文章
1445人学习
AI自动测试化入门到精通
11篇文章
912人学习
全部文章
(共156篇)
题解 | #计算用户8月每天的练题数量#
SELECT DAY (date) AS day, COUNT(*) AS question_cnt FROM question_practice_detail WHERE MONTH (date) = '08' group by day
2023-11-13
0
192
题解 | #查看不同年龄段的用户明细#
select device_id, gender, ( case when age >= 25 then '25岁及以上' when age >=20 and age <25 then '20-...
2023-11-13
0
216
题解 | #计算25岁以上和以下的用户数量#
select (case when age>=25 then '25岁及以上' else '25岁以下' end)as age_cut, count(*) as number from user_profile group by age_cut
2023-11-13
0
261
题解 | #买卖股票的最好时机(二)#
# # 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 # # 计算最大收益 # @param prices int整型一维数组 股票每一天的价格 # @return int整型 # class Solution: def maxProfit(self , pric...
2023-11-10
0
192
题解 | #买卖股票的最好时机(二)#
# # 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 # # 计算最大收益 # @param prices int整型一维数组 股票每一天的价格 # @return int整型 # class Solution: def maxProfit(self , pric...
2023-11-10
0
172
题解 | #买卖股票的最好时机(一)#
# # 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 # # # @param prices int整型一维数组 # @return int整型 # class Solution: def maxProfit(self , prices: List[int])...
2023-11-10
0
206
题解 | #打家劫舍(二)#
# # 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 # # # @param nums int整型一维数组 # @return int整型 # class Solution: def rob(self , nums: List[int]) -> int...
2023-11-10
0
171
题解 | #打家劫舍(一)#
# # 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 # # # @param nums int整型一维数组 # @return int整型 # class Solution: def rob(self , nums: List[int]) -> int...
2023-11-10
0
194
题解 | #数字字符串转化成IP地址#
class Solution: def restoreIpAddresses(self , s: str) -> List[str]: # write code here n = len(s) ip_list =[] if...
2023-11-10
0
249
题解 | #连续子数组的最大和#
from math import inf # # 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 # # # @param array int整型一维数组 # @return int整型 # class Solution: def FindGreatestSum...
2023-11-09
0
200
首页
上一页
7
8
9
10
11
12
13
14
15
16
下一页
末页