摘要: #206. Reverse Linked List Reverse a singly linked list. 阅读全文
posted @ 2016-12-18 22:31 冯兴伟 阅读(192) 评论(0) 推荐(0) 编辑
摘要: #83. Remove Duplicates from Sorted List Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 阅读全文
posted @ 2016-12-18 22:01 冯兴伟 阅读(133) 评论(0) 推荐(0) 编辑
摘要: #24. Swap Nodes in Pairs Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the 阅读全文
posted @ 2016-12-18 21:55 冯兴伟 阅读(182) 评论(0) 推荐(0) 编辑
摘要: #2. Add Two Numbers You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nod 阅读全文
posted @ 2016-12-18 21:31 冯兴伟 阅读(286) 评论(0) 推荐(0) 编辑
摘要: #299. Bulls and Cows You are playing the following Bulls and Cows game with your friend: You write down a number and ask your friend to guess what the 阅读全文
posted @ 2016-12-18 18:06 冯兴伟 阅读(367) 评论(0) 推荐(0) 编辑