摘要: 插入、删除功能实现 /* * 使用单链表;每次插入大约需要比较N/2次; * 插入效率是O(N),删除表头元素效率是O(1) */ public class MySortQueue { // 使用单链表实现 private Entry root; private static class Entry 阅读全文
posted @ 2020-07-01 19:15 zhuangrunwei 阅读(204) 评论(0) 推荐(0) 编辑