摘要:
标题: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... 阅读全文
摘要:
标题: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没有表述... 阅读全文
摘要:
标题:Simplify Path通过率:20.1%难度:中等Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", ... 阅读全文
摘要:
标题: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... 阅读全文
摘要:
标题:3Sum Closest通过率:27.0%难度:中等Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum... 阅读全文
摘要:
标题: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... 阅读全文
摘要:
标题: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... 阅读全文
摘要:
标题: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... 阅读全文
摘要:
题目:Word Break通过率:22.6%难度:中等Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more ... 阅读全文
摘要:
标题: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... 阅读全文