摘要: 原题链接在这里:https://leetcode.com/problems/find-peak-element/ 题目: A peak element is an element that is greater than its neighbors. Given an input array whe 阅读全文
posted @ 2015-10-14 12:53 Dylan_Java_NYC 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/copy-list-with-random-pointer/ 题目: A linked list is given such that each node contains an additional random poin 阅读全文
posted @ 2015-10-14 12:17 Dylan_Java_NYC 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/rotate-list/ 题目: Given a list, rotate the list to the right by k places, where k is non-negative. For example:Gi 阅读全文
posted @ 2015-10-14 11:10 Dylan_Java_NYC 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/merge-k-sorted-lists/ 题目: Merge k sorted linked lists and return it as one sorted list. Analyze and describe its 阅读全文
posted @ 2015-10-14 09:07 Dylan_Java_NYC 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/merge-two-sorted-lists/ 题目: Merge two sorted linked lists and return it as a new list. The new list should be ma 阅读全文
posted @ 2015-10-14 09:04 Dylan_Java_NYC 阅读(234) 评论(0) 推荐(0) 编辑