摘要: /** * 问题:反转双向链表 * * 要求: * 如果链表长度为 N,时间复杂度为O(N),额外的空间复杂度为O(1)。 * * @author 雪瞳 * */ public class Node<T>{ public T value; public Node next; public Node 阅读全文
posted @ 2020-03-19 12:48 雪瞳 阅读(114) 评论(0) 推荐(0) 编辑