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

2016年11月29日

✡ leetcode 165. Compare Version Numbers 比较两个字符串数字的大小 --------- java
摘要: Compare two version numbers version1 and version2.If version1 > version2 return 1, if version1 < version2 return -1, otherwise return 0. You may assum 阅读全文
posted @ 2016-11-29 16:58 xiaoba1203 阅读(10060) 评论(0) 推荐(0)
 
✡ leetcode 164. Maximum Gap 寻找最大相邻数字差 --------- java
摘要: Given an unsorted array, find the maximum difference between the successive elements in its sorted form. Try to solve it in linear time/space. Return 阅读全文
posted @ 2016-11-29 16:11 xiaoba1203 阅读(317) 评论(0) 推荐(0)
 
✡ leetcode 163. Missing Ranges 找出缺失范围 --------- java
摘要: Given a sorted integer array where the range of elements are in the inclusive range [lower, upper], return its missing ranges. For example, given [0, 阅读全文
posted @ 2016-11-29 14:30 xiaoba1203 阅读(266) 评论(0) 推荐(0)
 
 

公告


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