摘要:
70. Climbing Stairs 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 dist 阅读全文
posted @ 2019-03-11 20:29
mingL
阅读(204)
评论(0)
推荐(0)
摘要:
69. Sqrt(x) Implement int sqrt(int x). Compute and return the square root of x, where x is guaranteed to be a non-negative integer. Since the return t 阅读全文
posted @ 2019-03-11 20:26
mingL
阅读(187)
评论(0)
推荐(0)
摘要:
68. Text Justification Given an array of words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully 阅读全文
posted @ 2019-03-11 20:25
mingL
阅读(165)
评论(0)
推荐(0)
摘要:
67. Add Binary Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 阅读全文
posted @ 2019-03-11 20:12
mingL
阅读(180)
评论(0)
推荐(0)
摘要:
66. Plus One Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are stored such that the most 阅读全文
posted @ 2019-03-11 20:06
mingL
阅读(300)
评论(0)
推荐(0)
摘要:
65. Valid Number Validate if a given string can be interpreted as a decimal number. Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => fal 阅读全文
posted @ 2019-03-11 19:47
mingL
阅读(132)
评论(0)
推荐(0)
摘要:
64. Minimum Path Sum Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all num 阅读全文
posted @ 2019-03-11 19:42
mingL
阅读(127)
评论(0)
推荐(0)

浙公网安备 33010602011771号