Premiumlab  
上一页 1 ··· 10 11 12 13 14

2017年5月22日

摘要: https://leetcode.com/problems/move-zeroes/#/description Given an array nums, write a function to move all 0's to the end of it while maintaining the r 阅读全文
posted @ 2017-05-22 20:24 Premiumlab 阅读(122) 评论(0) 推荐(0) 编辑
 
摘要: https://leetcode.com/articles/two-sum/#approach-2-two-pass-hash-table-accepted Question Given an array of integers, return indices of the two numbers 阅读全文
posted @ 2017-05-22 11:47 Premiumlab 阅读(236) 评论(1) 推荐(0) 编辑

2017年4月16日

摘要: 3-1 scrore Here is a string with o and x. The length is between 1 to 80. Calcuate the score. The score of o is the consecutive o appeared so far. The 阅读全文
posted @ 2017-04-16 20:15 Premiumlab 阅读(92) 评论(0) 推荐(0) 编辑

2017年4月10日

摘要: https://leetcode.com/problems/rotate-array/#/description Restatement Rotate an array of n elements to the right by k steps. For example, with n = 7 an 阅读全文
posted @ 2017-04-10 09:49 Premiumlab 阅读(101) 评论(0) 推荐(0) 编辑

2017年4月7日

摘要: http://www.1point3acres.com/bbs/thread-218639-1-1.html 阅读全文
posted @ 2017-04-07 11:40 Premiumlab 阅读(118) 评论(0) 推荐(0) 编辑

2017年3月8日

摘要: Ex Input some integers and output their min, max and average values (keep three decimal places). It is guaranteed that each input number is a integer 阅读全文
posted @ 2017-03-08 17:19 Premiumlab 阅读(184) 评论(0) 推荐(0) 编辑

2017年3月4日

摘要: 1-1 Input three integers and output the average number. Keep three decimal places. 1-2 Input Fahrenheit temperature f, output the centigrade degree c. 阅读全文
posted @ 2017-03-04 10:36 Premiumlab 阅读(233) 评论(0) 推荐(0) 编辑

2017年2月5日

摘要: https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/ Restatement Given an array of integers that is already sorted in ascending order, find 阅读全文
posted @ 2017-02-05 17:38 Premiumlab 阅读(124) 评论(0) 推荐(0) 编辑
 
摘要: https://leetcode.com/problems/remove-duplicates-from-sorted-array/ Restatement Given a sorted array, remove the duplicates in place such that each ele 阅读全文
posted @ 2017-02-05 11:45 Premiumlab 阅读(131) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14