摘要:
Given an unsorted integer array, find the first missing positive integer. For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2. Your algorithm s 阅读全文
posted @ 2017-06-18 16:12
hellowOOOrld
阅读(122)
评论(0)
推荐(0)
摘要:
Given a positive integer a, find the smallest positive integer b whose multiplication of each digit equals to a. If there is no answer or the answer i 阅读全文
posted @ 2017-06-18 12:57
hellowOOOrld
阅读(400)
评论(0)
推荐(0)
摘要:
Given the root of a binary tree, then value v and depth d, you need to add a row of nodes with value v at the given depth d. The root node is at depth 阅读全文
posted @ 2017-06-18 11:59
hellowOOOrld
阅读(191)
评论(0)
推荐(0)
摘要:
Given m arrays, and each array is sorted in ascending order. Now you can pick up two integers from two different arrays (each array picks one) and cal 阅读全文
posted @ 2017-06-18 11:44
hellowOOOrld
阅读(531)
评论(0)
推荐(0)