摘要: &#128218; 数据结构基础:(2)栈的基本实现 需要用到自定义数组类:https://www.cnblogs.com/cenjw/p/custom-array-class.html 先定义一个栈的接口 public interface Stack<E> { int getSize(); boolean isEmpty(); void push(E 阅读全文
posted @ 2022-03-04 21:39 micromatrix 阅读(41) 评论(0) 推荐(0)