01 2018 档案
摘要:160. Intersection of Two Linked Lists Write a program to find the node at which the intersection of two singly linked lists begins. For example, the f
阅读全文
摘要:这几天看了《算法图解》,把里面的示例代码都实现了一边,在 github 上找到了一位朋友的仓库,fork 了他的。 里面有我们添加的 Python,Java,C++的实现,欢迎大家 fork!!! 附上网址:https://github.com/lynxux/AlgorithmDiagram
阅读全文
摘要:142. Linked List Cycle II Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Note: Do not modify the link
阅读全文
摘要:141. Linked List Cycle Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 题意: 判断一个链表是否为一个环
阅读全文