摘要: /** * 用数组实现栈结构 * @author : wangtb * @date : 2019-10-04 22:50 */ public class Array2Stack { private Integer[] arr; private Integer index; public Array2 阅读全文
posted @ 2019-10-04 23:24 abs_征召不老 阅读(85) 评论(0) 推荐(0)
摘要: /** * 用数组实现队列 * @author : wangtb * @date : 2019-10-04 22:28 */ public class Array2Queue { /** * 数据 */ private Integer[] arr; /** * 长度 */ private Integ 阅读全文
posted @ 2019-10-04 23:22 abs_征召不老 阅读(84) 评论(0) 推荐(0)
摘要: /** * 求无序数组内相邻两个数的最大差值 * 可参考文章: * https://www.cnblogs.com/xiaomoxian/p/5189782.html */ public class BucketSortExtMaxGap { public static void main(Stri 阅读全文
posted @ 2019-10-04 22:18 abs_征召不老 阅读(247) 评论(0) 推荐(0)