小小程序媛  
得之坦然,失之淡然,顺其自然,争其必然
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 34 下一页

2015年8月26日

摘要: 题目The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, …1 is read off as “one 1” or 11. 11 i... 阅读全文
posted @ 2015-08-26 11:14 Coding菌 阅读(157) 评论(0) 推荐(0) 编辑

2015年8月25日

摘要: 题目Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are ... 阅读全文
posted @ 2015-08-25 20:40 Coding菌 阅读(136) 评论(0) 推荐(0) 编辑
 
摘要: 题目Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).You are given a ... 阅读全文
posted @ 2015-08-25 17:25 Coding菌 阅读(146) 评论(0) 推荐(0) 编辑

2015年8月24日

摘要: 题目You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that... 阅读全文
posted @ 2015-08-24 20:51 Coding菌 阅读(121) 评论(0) 推荐(0) 编辑
 
摘要: 题目Divide two integers without using multiplication, division and mod operator.If it is overflow, return MAX_INT.分析题目要求不用 * / %三种运算符的条件下,求得两个i... 阅读全文
posted @ 2015-08-24 19:51 Coding菌 阅读(170) 评论(0) 推荐(0) 编辑

2015年8月23日

摘要: 题目The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a ... 阅读全文
posted @ 2015-08-23 17:29 Coding菌 阅读(110) 评论(0) 推荐(0) 编辑

2015年8月22日

摘要: 题目There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time co... 阅读全文
posted @ 2015-08-22 20:35 Coding菌 阅读(101) 评论(0) 推荐(0) 编辑

2015年8月20日

摘要: 题目Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note: You may assume that nums1 has enough spac... 阅读全文
posted @ 2015-08-20 17:33 Coding菌 阅读(96) 评论(0) 推荐(0) 编辑
 
摘要: 题目Given a sorted linked list, delete all duplicates such that each element appear only once.For example, Given 1->1->2, return 1->2. Given 1-... 阅读全文
posted @ 2015-08-20 11:40 Coding菌 阅读(118) 评论(0) 推荐(0) 编辑

2015年8月19日

摘要: 题目You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways ... 阅读全文
posted @ 2015-08-19 21:54 Coding菌 阅读(107) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 34 下一页