09 2015 档案

摘要:class Solution {public: /** * @param obstacleGrid: A list of lists of integers * @return: An integer */ int uniquePathsWithObstacle... 阅读全文
posted @ 2015-09-09 19:13 影翕 阅读(209) 评论(0) 推荐(0)
摘要:class Solution {public: /** * @param n, m: positive integer (1 <= n ,m <= 100) * @return an integer */ int uniquePaths(int m, int n)... 阅读全文
posted @ 2015-09-08 10:15 影翕 阅读(120) 评论(0) 推荐(0)
摘要:class Solution {public: /** * @param s: The first string * @param b: The second string * @return true or false */ bool anagram(s... 阅读全文
posted @ 2015-09-05 23:22 影翕 阅读(159) 评论(0) 推荐(0)
摘要:class Solution {public: /** * @param x: An integer * @return: The sqrt of x */ int getResult(long start, long end, long target){ ... 阅读全文
posted @ 2015-09-05 10:20 影翕 阅读(197) 评论(0) 推荐(0)
摘要:class Solution {public: /* * @param n: An integer * @return: True or false */ bool checkPowerOf2(int n) { // write your code ... 阅读全文
posted @ 2015-09-02 15:39 影翕 阅读(145) 评论(0) 推荐(0)
摘要:1 class Solution { 2 public: 3 /** 4 * param n: As description. 5 * return: A list of strings. 6 */ 7 vector fizzBuzz(int n) {... 阅读全文
posted @ 2015-09-02 15:31 影翕 阅读(234) 评论(0) 推荐(0)