摘要: 题目:You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the qualit 阅读全文
posted @ 2016-05-10 21:57 CodingGirl121 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 题目: Write a function to find the longest common prefix string amongst an array of strings. 题目解答: 求一组字符串的最长公共前缀。使用迭代器数组实现。思路异常的简单。 代码如下: class Solution 阅读全文
posted @ 2016-05-10 12:03 CodingGirl121 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation a 阅读全文
posted @ 2016-05-10 12:01 CodingGirl121 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 题目: Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. Example: Note: 题目解答:这个题目说了,会反复的求一段数字的和,但是默认数 阅读全文
posted @ 2016-05-10 11:36 CodingGirl121 阅读(115) 评论(0) 推荐(0) 编辑