会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Jean
努力!
博客园
管理
上一页
1
2
3
4
5
6
7
8
9
···
12
下一页
2015年11月17日
Scramble String
摘要: 题目:Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty sub...
阅读全文
posted @ 2015-11-17 15:32 JSRGFJZ6
阅读(121)
评论(0)
推荐(0)
编辑
Reverse Words in a String
摘要: 题目:Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",...
阅读全文
posted @ 2015-11-17 15:00 JSRGFJZ6
阅读(84)
评论(0)
推荐(0)
编辑
2015年11月16日
Longest Consecutive Sequence
摘要: 题目:Given an unsorted array of integers, find the length of the longest consecutive elements sequen...
阅读全文
posted @ 2015-11-16 11:14 JSRGFJZ6
阅读(90)
评论(0)
推荐(0)
编辑
Binary Tree Maximum Path Sum
摘要: 题目:Given a binary tree, find the maximum path sum.For this problem, a path is defined as any seque...
阅读全文
posted @ 2015-11-16 10:42 JSRGFJZ6
阅读(106)
评论(0)
推荐(0)
编辑
2015年10月29日
4Sum
摘要: 题目:Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d ...
阅读全文
posted @ 2015-10-29 21:13 JSRGFJZ6
阅读(127)
评论(0)
推荐(0)
编辑
Candy
摘要: 题目:There are N children standing in a line. Each child is assigned a rating value.You are giving c...
阅读全文
posted @ 2015-10-29 20:22 JSRGFJZ6
阅读(105)
评论(0)
推荐(0)
编辑
2015年10月28日
Simplify Path
摘要: 题目:Given an absolute path for a file (Unix-style), simplify it.For example,path = "/home/", => "/h...
阅读全文
posted @ 2015-10-28 00:38 JSRGFJZ6
阅读(98)
评论(0)
推荐(0)
编辑
Max Points on a Line
摘要: 题目:Given n points on a 2D plane, find the maximum number of points that lie on the same straight l...
阅读全文
posted @ 2015-10-28 00:29 JSRGFJZ6
阅读(101)
评论(0)
推荐(0)
编辑
2015年10月27日
ZigZag Conversion
摘要: 题目:The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this:...
阅读全文
posted @ 2015-10-27 23:59 JSRGFJZ6
阅读(79)
评论(0)
推荐(0)
编辑
Two Sum
摘要: 题目:Given an array of integers, find two numbers such that they add up to a specific target number....
阅读全文
posted @ 2015-10-27 23:58 JSRGFJZ6
阅读(123)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
8
9
···
12
下一页