上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: 标题:Clone Graph通过率:23.7%难度:中等OJ's undirected graph serialization:Nodes are labeled uniquely.We use#as a separator for each node, and,as a separator for... 阅读全文
posted @ 2015-04-12 15:40 pku_smile 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 标题:Anagrams通过率:24.3%难度:中等Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.leetcode没有表述... 阅读全文
posted @ 2015-04-10 10:21 pku_smile 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 标题:Simplify Path通过率:20.1%难度:中等Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", ... 阅读全文
posted @ 2015-04-09 21:27 pku_smile 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 标题:Number of Islands通过率:22.8%难度:中等Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is surrounded by water and... 阅读全文
posted @ 2015-04-09 15:52 pku_smile 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 标题:3Sum Closest通过率:27.0%难度:中等Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum... 阅读全文
posted @ 2015-04-08 19:28 pku_smile 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 标题:4Sum通过率:21.4%难度:中等Given an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array wh... 阅读全文
posted @ 2015-04-08 19:25 pku_smile 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 标题:3Sum通过率: 16.9%难度:中等Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the s... 阅读全文
posted @ 2015-04-08 19:16 pku_smile 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 标题:Binary Tree Right Side View通过率:27.9%难度:中等Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you c... 阅读全文
posted @ 2015-04-06 15:16 pku_smile 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 题目:Word Break通过率:22.6%难度:中等Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more ... 阅读全文
posted @ 2015-04-03 22:32 pku_smile 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 标题:House Robber通过率:27.5%难度:简单You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, th... 阅读全文
posted @ 2015-04-03 21:03 pku_smile 阅读(221) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页