Lanerx
Lanerx
全部文章
分类
题解(7)
归档
标签
去牛客网
登录
/
注册
Lanerx的博客
全部文章
(共7篇)
题解 | #螺旋矩阵#
import java.util.*; public class Solution { public ArrayList<Integer> spiralOrder(int[][] matrix) { ArrayList<Integer> arr = ...
Java
2021-09-24
0
369
题解 | #螺旋矩阵#
import java.util.*; public class Solution { public ArrayList<Integer> spiralOrder(int[][] matrix) { ArrayList<Integer> arr = ...
Java
2021-09-24
0
356
题解 | #最长公共子串#
import java.util.*; public class Solution { /** * longest common substring * @param str1 string字符串 the string * @param str2 strin...
Java
2021-09-23
13
793
题解 | #删除链表的倒数第n个节点#
import java.util.*; /* * public class ListNode { * int val; * ListNode next = null; * } */ public class Solution { /** * * @...
Java
2021-09-22
0
382
题解 | #寻找第K大#
import java.util.*; public class Solution { public int findKth(int[] a, int n, int K) { // write code here quickSort(a, 0, n - 1,...
Java
2021-09-21
0
352
题解 | #寻找第K大#
import java.util.*; public class Solution { public int findKth(int[] a, int n, int K) { // write code here quickSort(a, 0, n - 1,...
Java
2021-09-16
0
335
题解 | #实现二叉树先序,中序和后序遍历#
import java.util.*; /* * public class TreeNode { * int val = 0; * TreeNode left = null; * TreeNode right = null; * } */ public class Sol...
Java
2021-09-15
0
375