Chinaunix首页 | 论坛 | 博客
  • 博客访问: 269939
  • 博文数量: 170
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1709
  • 用 户 组: 普通用户
  • 注册时间: 2014-05-06 18:01
文章分类

全部博文(170)

文章存档

2016年(11)

2015年(130)

2014年(29)

发布时间:2015-09-26 15:17:40

<br /><br />import java.util.ArrayList;<br />//Restore IP Addresses My Submissions Question Solution&nbsp;<br />//Total Accepted: 40984 Total Submissions: 191711 Difficulty: Medium<br />//Given a string containing only digits, restore it by returning all possible valid IP address combinations..........【阅读全文】

阅读(530) | 评论(0) | 转发(0)

发布时间:2015-09-21 16:51:40

//Reverse Linked List II My Submissions Question Solution&nbsp;<br />//Total Accepted: 50939 Total Submissions: 195918 Difficulty: Medium<br />//Reverse a linked list from position m to n. Do it in-place and in one-pass.<br />//<br />//For example:<br />//Given 1-&gt;2-&gt;3-&gt;4-&gt;5-&gt;NUL.........【阅读全文】

阅读(402) | 评论(0) | 转发(0)

发布时间:2015-09-20 10:42:15

import java.util.ArrayList;<br />import java.util.Arrays;<br />import java.util.HashSet;<br />import java.util.List;<br />import java.util.Set;<br /><br /><br />//Subsets II My Submissions Question Solution&nbsp;<br />//Total Accepted: 47526 Total Submissions: 169953 Difficulty: Medium<br /.........【阅读全文】

阅读(391) | 评论(0) | 转发(0)

发布时间:2015-09-19 15:40:02

//Gray Code My Submissions Question Solution&nbsp;<br />//Total Accepted: 42115 Total Submissions: 126486 Difficulty: Medium<br />//The gray code is a binary numeral system where two successive values differ in only one bit.<br />//<br />//Given a non-negative integer n representing the total nu.........【阅读全文】

阅读(280) | 评论(0) | 转发(0)

发布时间:2015-09-19 10:50:28

//Given a string s1 , we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.<br />//<br />//Below is one possible representation of s1 = "great" :<br />//<br />//great<br />// &nbsp; / &nbsp; &nbsp;\<br />// &nbsp;gr &nbsp; &nbsp;eat<br />// / \ &nbsp.........【阅读全文】

阅读(310) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册