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

2016年7月26日

leetcode 48 Rotate Image ---- java
摘要: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up:Could you do this in-place? 题目意思很简单,就是给一 阅读全文
posted @ 2016-07-26 15:02 xiaoba1203 阅读(211) 评论(0) 推荐(0)
 
 

2016年7月25日

leetcode 47 Permutations II ----- java
摘要: Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example,[1,1,2] have the following unique pe 阅读全文
posted @ 2016-07-25 21:22 xiaoba1203 阅读(1114) 评论(0) 推荐(0)
 
 

2016年7月20日

leetcode 46 Permutations ----- java
摘要: Given a collection of distinct numbers, return all possible permutations. For example,[1,2,3] have the following permutations: 给定一个数组,求所有的排列组合。 做出这道题很 阅读全文
posted @ 2016-07-20 18:11 xiaoba1203 阅读(459) 评论(0) 推荐(0)
 
 

2016年7月19日

leetcode 45 Jump Game II ---- java
摘要: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim 阅读全文
posted @ 2016-07-19 17:52 xiaoba1203 阅读(224) 评论(0) 推荐(0)
 
 

2016年7月14日

leetcode 44 Wildcard Matching ----java
摘要: Implement wildcard pattern matching with support for '?' and '*'. 全匹配问题,也就是正则式的问题,题目要求两个字符串是否匹配,?代表任意一个字母,*代表任意个字母,也可以是0个。 第一次写的时候出现了很多问题,我用了递归,但由于*代表 阅读全文
posted @ 2016-07-14 15:56 xiaoba1203 阅读(223) 评论(0) 推荐(0)
 
 

2016年6月29日

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 阅读(188) 评论(0) 推荐(0)
 
 

2016年6月21日

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 阅读(143) 评论(0) 推荐(0)
 
 

2016年6月20日

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 阅读(135) 评论(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)
 
 
上一页 1 ··· 14 15 16 17 18 19 下一页

公告


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