摘要:
QuestionWrite a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists:A: ... 阅读全文
posted @ 2015-09-16 10:45
树獭君
阅读(184)
评论(0)
推荐(0)
摘要:
QuestionMerge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.S... 阅读全文
posted @ 2015-09-16 09:03
树獭君
阅读(118)
评论(0)
推荐(0)
摘要:
QuestionGiven a linked list, remove thenthnode from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. ... 阅读全文
posted @ 2015-09-16 06:09
树獭君
阅读(170)
评论(0)
推荐(0)
摘要:
QuestionReverse a singly linked list.Solution 1 -- IterativeRemember to set head.next = null or it will report "memory limit exceeds" error. 1 /** 2 ... 阅读全文
posted @ 2015-09-16 03:17
树獭君
阅读(194)
评论(0)
推荐(0)
摘要:
QuestionGiven a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating le... 阅读全文
posted @ 2015-09-16 01:55
树獭君
阅读(103)
评论(0)
推荐(0)

浙公网安备 33010602011771号