我不打朋友圈
我不打朋友圈
全部文章
分类
题解(359)
归档
标签
去牛客网
登录
/
注册
我不打朋友圈的博客
TA的专栏
204篇文章
0人订阅
我居南半坡
203篇文章
2272人学习
西坡之上一枯木
1篇文章
655人学习
全部文章
(共309篇)
题解 | #最小的K个数#
import java.util.ArrayList; import java.lang.Math; import java.util.Arrays; public class Solution { public ArrayList GetLeastNumbers_Solution(int [] i...
Java
2021-12-16
0
246
题解 | #实现二叉树先序,中序和后序遍历#
import java.util.*; /* public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; } */ public class Solution { /** * * @param...
Java
2021-12-16
0
288
题解 | #查找所有员工的last_name和first_name以及对应的dept_name#
select em.last_name,em.first_name,dep.dept_name from employees as em left join dept_emp as dm on em.emp_no = dm.emp_no left join departments as dep on...
Mysql
2021-12-16
0
312
题解 | #统计出当前各个title类型对应的员工当前薪水对应的平均工资#
select tt.title,avg(sal.salary) avg_sal from titles as tt left join salaries as sal on tt.emp_no = sal.emp_no group by tt.title order by avg_sal
Mysql
2021-12-16
0
253
题解 | #牛客的课程订单分析(一)#
select * from order_info where date > '2025-10-15' and status = 'completed' and (product_name = 'C++' or product_name = 'Python' or product_name = ...
Mysql
2021-12-16
0
336
题解 | #找到每个人的任务#
select p.id,p.name,t.content from person as p left join task as t on p.id = t.person_id order by p.id asc select p.id,p.name,t.content from person p l...
Mysql
2021-12-16
0
235
题解 | #字符串压缩#
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main{ public static void main(String[] args)...
Java
2021-12-16
0
431
题解 | #数字序列第n位的值#
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(String[] args)...
Java
2021-12-16
0
398
题解 | #将满二叉树转换为求和树#
import java.util.; import java.io.; public class Main{ public static void main(String[] args)throws IOException{ BufferedReader in = new BufferedReade...
Java
2021-12-16
0
474
题解 | #微信红包#
import java.util.*; public class Gift { public int getValue(int[] gifts, int n) { int flag = 1; int num = gifts[0]; for(int i = 1;i < n;i++){ ...
Java
2021-12-16
0
583
首页
上一页
17
18
19
20
21
22
23
24
25
26
下一页
末页