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

随笔分类 -  leetcode

上一页 1 ··· 5 6 7 8 9

leetcode 历程
 
leetcode 43 Multiply Strings ----java
摘要:Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large and are non-neg 阅读全文
posted @ 2016-06-29 10:37 xiaoba1203 阅读(189) 评论(0) 推荐(0)
leetcode 42 Trapping Rain Water ---java
摘要:Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. 阅读全文
posted @ 2016-06-21 18:00 xiaoba1203 阅读(176) 评论(0) 推荐(0)
leetcode 41 First Missing Positive ---java
摘要:Given an unsorted integer array, find the first missing positive integer. For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2. Your algorithm s 阅读全文
posted @ 2016-06-21 15:35 xiaoba1203 阅读(145) 评论(0) 推荐(0)
leetcode 40 Combination Sum II --- java
摘要:Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each num 阅读全文
posted @ 2016-06-20 17:14 xiaoba1203 阅读(136) 评论(0) 推荐(0)
leetcode 39 Combination Sum --- java
摘要:Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeat 阅读全文
posted @ 2016-06-20 15:52 xiaoba1203 阅读(802) 评论(0) 推荐(0)
leetcode 38 Count and Say ---java
摘要:这道题主要就是求一个序列,题目得意思就是 1 --> 11 --> 21 --> 1211 --> 111221 --> 312211 --> ..... 1个1 2个1 1个2,1个1 1个1,1个2,2个1 3个1,2个2,1个1 依次类推 题目很简单,但是为了得到较好的结果,还是纠结了一段时间 阅读全文
posted @ 2016-06-16 18:48 xiaoba1203 阅读(334) 评论(0) 推荐(0)
leetcode 37 Sudoku Solver java
摘要:leetcode 阅读全文
posted @ 2016-06-13 17:25 xiaoba1203 阅读(591) 评论(0) 推荐(0)
 

上一页 1 ··· 5 6 7 8 9

公告


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