摘要: 2.3 Implement an algorithm to delete a node in the middle of a singly linked list, given only access to that node.EXAMPLEInput: the node c from the li... 阅读全文
posted @ 2015-07-19 12:31 Grandyang 阅读(965) 评论(0) 推荐(0)
摘要: 2.2 Implement an algorithm to find the kth to last element of a singly linked list.这道题让我们求链表中倒数第k个元素,LeetCode中相类似的题目有Kth Largest Element in an Array 数... 阅读全文
posted @ 2015-07-19 12:02 Grandyang 阅读(1351) 评论(0) 推荐(0)
Fork me on GitHub