• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
xiaoba1203
记录leetcode之路
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2016年10月11日

leetcode 67 Add Binary ----- java
摘要: Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". 两个二进制数相加,并不难。 阅读全文
posted @ 2016-10-11 18:34 xiaoba1203 阅读(140) 评论(0) 推荐(0)
 
leetcode 66 Plus One ----- java
摘要: Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is a 阅读全文
posted @ 2016-10-11 15:41 xiaoba1203 阅读(142) 评论(0) 推荐(0)
 
leetcode 65 Valid Number ----- java
摘要: Validate if a given string is numeric. Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => true Note: It is intended for the 阅读全文
posted @ 2016-10-11 15:11 xiaoba1203 阅读(160) 评论(0) 推荐(0)
 
leetcode 64 Minimum Path Sum ----- java
摘要: 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 numbers along its path. 阅读全文
posted @ 2016-10-11 12:36 xiaoba1203 阅读(162) 评论(0) 推荐(0)
 
leetcode 63 Unique Paths II ---java
摘要: Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space 阅读全文
posted @ 2016-10-11 12:08 xiaoba1203 阅读(155) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3