摘要:
java栈实现 数组实现 Stack类 class Stack { private int maxSize; private int[] stack; private int top = -1; public Stack(int maxSize) { this.maxSize = maxSize; 阅读全文
摘要:
joseph问题 单向环形链表 节点类 class Node { public int id; public Node next; @Override public String toString() { return "Node{" + "id=" + id + '}'; } public Nod 阅读全文