2015年5月13日
摘要: Given an integer n, return the number of trailing zeroes in n!.Note: Your solution should be in logarithmic time complexity. 1 class Solution { 2 publ... 阅读全文
posted @ 2015-05-13 08:05 黄瓜小肥皂 阅读(148) 评论(0) 推荐(0) 编辑
摘要: You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo... 阅读全文
posted @ 2015-05-13 07:56 黄瓜小肥皂 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Given a set of distinct integers, nums, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must no... 阅读全文
posted @ 2015-05-13 07:28 黄瓜小肥皂 阅读(115) 评论(0) 推荐(0) 编辑