摘要:
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a... 阅读全文
posted @ 2016-01-26 23:36 cKK 阅读(100) 评论(0) 推荐(0)
|
||
|
摘要:
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a... 阅读全文
posted @ 2016-01-26 23:36 cKK 阅读(100) 评论(0) 推荐(0)
摘要:
Merge 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./** * Def... 阅读全文
posted @ 2016-01-26 22:11 cKK 阅读(188) 评论(0) 推荐(0)
摘要:
Given a linked list, remove the nth node from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. After ... 阅读全文
posted @ 2016-01-26 20:47 cKK 阅读(158) 评论(0) 推荐(0)
摘要:
Write a function to find the longest common prefix string amongst an array of strings.Subscribe to see which companies asked this question }public cl... 阅读全文
posted @ 2016-01-26 15:11 cKK 阅读(151) 评论(0) 推荐(0) |
||