oweny
oweny
全部文章
题解
归档
标签
去牛客网
登录
/
注册
oweny的博客
全部文章
/ 题解
(共4篇)
栈的压入、弹出序列 java
``` ```import java.util.*; public class Solution { public boolean IsPopOrder(int [] pushA,int [] popA) { Stack<Integer> stack1 = new Stack<...
2019-09-05
0
612
包含min函数的栈 java
import java.util.*; public class Solution { Stack stack = new Stack(); Stack minStack = new Stack(); int min=Integer.MAX_VALUE; pub...
2019-09-05
0
739
二叉树的镜像 java
/** public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = v...
2019-09-05
0
522
链表中倒数第k个结点 java
/* public class ListNode { int val; ListNode next = null; ListNode(int val) { this.val = val; } }*/ public class Solution { ...
2019-09-04
32
1082