数据结构——单链表(环)

一、环 标题   二、创建环 //建立环 public void createLoop(){ Entry cur = this.head; while(cur.next != null){ cur = cur.next; } Entry cur2 = this.head.next.next.next;
相关文章
相关标签/搜索