牛客82035003号
牛客82035003号
全部文章
分类
题解(161)
归档
标签
去牛客网
登录
/
注册
牛客82035003号的博客
全部文章
(共200篇)
题解 | #二叉树中和为某一值的路径(一)#
#include <stdbool.h> bool hasPathSum(struct TreeNode* root, int sum ) { i...
C
2022-02-17
3
295
题解 | #链表中环的入口结点#
int maxProfit(int* prices, int pricesLen ) { //if(prices == NULL || si...
C
2022-02-17
0
198
题解 | #判断链表中是否有环#
#include <stdbool.h> bool hasCycle(struct ListNode* head ) { if(head == NULL) &...
C
2022-02-17
0
264
题解 | #链表中环的入口结点#
struct ListNode* EntryNodeOfLoop(struct ListNode* pHead ) { if (pHead == N...
C
2022-02-17
0
316
题解 | #对称的二叉树#
#include <stdbool.h> bool isSame(struct TreeNode* root1, struct TreeNode* root2) { if...
C
2022-02-17
0
287
题解 | #牛牛的字符菱形#
写一个题要会一类题。模子出来了,给任意n都可以用 #include <stdio.h> int main() { char ch; scanf("%c", &ch); ...
C
2022-02-16
109
3362
题解 | #近三个月未完成试卷数为0的用户完成情况#
select uid, count(start_time) as exam_complete_cnt from ( select *, &nbs...
2022-02-13
0
224
题解 | #每份试卷每月作答数和截止当月的作答总数。#
select distinct exam_id, date_format(start_time, '%Y%m') as start_month, &nbs...
Mysql
2022-02-13
0
192
题解 | #统计有未完成状态的试卷的未完成数和未完成率#
select exam_id, sum(if(submit_time is null, 1, 0)) as incomplete_cn...
Mysql
2022-02-13
0
273
题解 | #0级用户高难度试卷的平均用时和平均得分#
select ui.uid, round(avg(if(submit_time is null, 0, score)), 0) as a...
Mysql
2022-02-13
0
260
首页
上一页
9
10
11
12
13
14
15
16
17
18
下一页
末页