ffgw
  • 首页
  • 归档
  • 分类
  • 标签
  • 友链
  • 关于
  • 首页
  • 归档
  • 分类
  • 标签
  • 友链
  • 关于
  • leetocode 58 Length of Last Word

    Length of Last Word Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return th...
     2017-12-22
    阅读全文 
  • leetcode 28 Implement strStr()

    28. Implement strStr() Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if needle is...
     2017-12-22  
    • leetcode 
    阅读全文 
  • leetcode 62 63 Unique Paths

    62. Unique Paths I 给定一个m*n的棋盘,从棋盘左上角到棋盘右下角最多有多少条路径。 每一次移动,只能向右移一格或者向下移动一格。 star end 动态规划问题: dp[i][j] =...
     2017-12-22  
    • leetcode 
    阅读全文 
  • leetcode 35 Search Insert Position

    35. Search Insert Position Given a sorted array and a target value, return the index if the target is found. If not, return t...
     2017-12-22
    阅读全文 
  • leetcode 746 Min Cost Climbing Stairs

    746. Min Cost Climbing Stairs On a staircase, the i-th step has some non-negative cost cost[i] assigned (0 indexed). Once you...
     2017-12-21  
    • leetcode 
    阅读全文 
  • leetcode 53 Maximal Subarray

    ###53. Maximum Subarray Find the contiguous subarray within an array (containing at least one number) which has the largest ...
     2017-12-20  
    • leetcode 
    阅读全文 
  • leetcode 14 Longest Common Prefix

    ###14. Longest Common Prefix Write a function to find the longest common prefix string amongst an array of strings. 最初始的想法...
     2017-12-16  
    • leetcode 
    阅读全文 
  • leetcode 50 Pow(x, n)

    50. Pow(x, n) Implement pow(x, n). Example 1: 123Input: 2.00000, 10Output: 1024.00000 Example 2: 12Input: 2.10000, 3Output: ...
     2017-12-15  
    • leetcode 
    阅读全文 
  • leetcode 9 Palindrome Number

    9. Palindrome Number Determine whether an integer is a palindrome. Do this without extra space. 用一个变量reverse来保存翻转的x部分 rever...
     2017-12-15  
    • leetcode 
    阅读全文 
  • leetcode 8 String to Integer (atoi)

    8. String to Integer (atoi) Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cas...
     2017-12-14  
    • leetcode 
    阅读全文 
上一页 下一页
© 2020 -  2021  z
由 Hexo 驱动 | 主题 Keep v3.4.3