摘要: Zing~ 阅读全文
posted @ 2019-05-02 20:12 Doris7 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Description: Code: 阅读全文
posted @ 2019-04-14 20:35 Doris7 阅读(98) 评论(0) 推荐(0) 编辑
摘要: Code: 阅读全文
posted @ 2019-04-14 20:35 Doris7 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Code: 阅读全文
posted @ 2019-04-14 20:34 Doris7 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Code: 阅读全文
posted @ 2019-04-14 20:34 Doris7 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Description: The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing 阅读全文
posted @ 2019-04-14 20:33 Doris7 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Description: Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. Example: Solution: 这道题让我们输出从1~n中抽出k个数的所有可能性 这道题 阅读全文
posted @ 2019-04-11 20:57 Doris7 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Description: Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the col 阅读全文
posted @ 2019-04-11 20:55 Doris7 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Description: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row 阅读全文
posted @ 2019-04-11 20:52 Doris7 阅读(230) 评论(0) 推荐(0) 编辑
摘要: Description: Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in-place. Example 1: Example 2: Follow up: A straight 阅读全文
posted @ 2019-04-11 14:45 Doris7 阅读(165) 评论(0) 推荐(0) 编辑