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

2016年11月15日

leetcode 137. Single Number II ----- java
摘要: Given an array of integers, every element appears three times except for one. Find that single one. Note:Your algorithm should have a linear runtime c 阅读全文
posted @ 2016-11-15 10:11 xiaoba1203 阅读(140) 评论(0) 推荐(0)
 
 

2016年11月14日

leetcode 136. Single Number ----- java
摘要: Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime complex 阅读全文
posted @ 2016-11-14 16:40 xiaoba1203 阅读(107) 评论(0) 推荐(0)
 
leetcode 135. Candy ----- java
摘要: There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following re 阅读全文
posted @ 2016-11-14 16:33 xiaoba1203 阅读(359) 评论(0) 推荐(0)
 
leetcode 134. Gas Station ----- java
摘要: There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited gas tank and it cost 阅读全文
posted @ 2016-11-14 14:30 xiaoba1203 阅读(236) 评论(0) 推荐(0)
 
leetcode 133. Clone Graph ----- java
摘要: Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. OJ's undirected graph serialization: Nodes are labeled 阅读全文
posted @ 2016-11-14 10:54 xiaoba1203 阅读(196) 评论(0) 推荐(0)
 
 

2016年11月11日

leetcode 132. Palindrome Partitioning II ----- java
摘要: Given a string s, partition s such that every substring of the partition is a palindrome. Return the minimum cuts needed for a palindrome partitioning 阅读全文
posted @ 2016-11-11 16:31 xiaoba1203 阅读(180) 评论(0) 推荐(0)
 
 

2016年11月10日

leetcode 131. Palindrome Partitioning----- java
摘要: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For exampl 阅读全文
posted @ 2016-11-10 18:04 xiaoba1203 阅读(288) 评论(0) 推荐(0)
 
leetcode 130. Surrounded Regions----- java
摘要: Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X's in 阅读全文
posted @ 2016-11-10 17:29 xiaoba1203 阅读(657) 评论(0) 推荐(0)
 
 

2016年11月6日

leetcode 129. Sum Root to Leaf Numbers ----- java
摘要: Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 whic 阅读全文
posted @ 2016-11-06 20:11 xiaoba1203 阅读(110) 评论(0) 推荐(0)
 
leetcode 128. Longest Consecutive Sequence ----- java
摘要: Given an unsorted array of integers, find the length of the longest consecutive elements sequence. For example,Given [100, 4, 200, 1, 3, 2],The longes 阅读全文
posted @ 2016-11-06 19:58 xiaoba1203 阅读(230) 评论(0) 推荐(0)
 
 
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页

公告


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