摘要:
问题描述: Given an array and a value, remove all instances of that value in place and return the new length. The order of elements can be changed. It does 阅读全文
posted @ 2015-12-14 16:54
江湖凶险
阅读(147)
评论(0)
推荐(0)
摘要:
问题描述: Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 1, 2, 3, 阅读全文
posted @ 2015-12-14 15:27
江湖凶险
阅读(167)
评论(0)
推荐(0)
摘要:
问题描述: Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 分析: 将k个sorted list合并为一个sorted list借鉴归并排序的方法,自 阅读全文
posted @ 2015-12-14 13:48
江湖凶险
阅读(242)
评论(0)
推荐(0)

浙公网安备 33010602011771号