摘要:
问题描述: 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 阅读全文
摘要:
问题描述: 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, 阅读全文
摘要:
问题描述: Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 分析: 将k个sorted list合并为一个sorted list借鉴归并排序的方法,自 阅读全文