摘要:
#206. Reverse Linked List Reverse a singly linked list. 阅读全文
摘要:
#83. Remove Duplicates from Sorted List Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 阅读全文
摘要:
#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 阅读全文
摘要:
#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 阅读全文
摘要:
#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 阅读全文