首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
课程
专栏·文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
epic-myth
获赞
1
粉丝
0
关注
6
看过 TA
4
湖南大学
2022
Java
IP属地:广东
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑epic-myth吗?
发布(5)
刷题
epic-myth
2022-06-23 23:07
Java
题解 | #没有重复项数字的全排列#
dfs+回溯 import java.util.*; public class Solution { public ArrayList<ArrayList<Integer>> permute(int[] num) { ArrayList<ArrayList<Integer>> re = new ArrayList<>(); int depth = 0; ArrayList<Integer> path = new ArrayList<>(); ...
0
点赞
评论
收藏
转发
epic-myth
2022-06-23 17:18
Java
题解 | #迷宫问题#
BFS + 栈返回结果 import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int c = sc.nextInt(); int[][] nums = new int[r][c]; for(int i = 0; i < r; i++){ for(int j =...
0
点赞
评论
收藏
转发
epic-myth
2022-06-21 23:02
Java
题解 | #图片整理#
4行解决 import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); char[] re = sc.next().toCharArray(); Arrays.sort(re); System.out.print(re); } }
0
点赞
评论
收藏
转发
epic-myth
2022-06-21 23:00
Java
题解 | #图片整理#
五行解决 import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); char[] re = s.toCharArray(); Arrays.sort(re); System.out.print(re); } }
0
点赞
评论
收藏
转发
epic-myth
2022-06-16 17:20
Java
题解 | #矩阵乘法#
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int z = sc.nextInt(); int a[][] = new int[x][y]; int b[][] = new int[y][z]; //输入a ...
0
点赞
评论
收藏
转发
1
工具箱
TA的圈子
暂未加入圈子
TA的圈子
TA的笔记
暂无笔记
TA的笔记
登录
0
天
已登录
0
天
连续登录
0
人
今日访客
牛客网
牛客企业服务