shuaijiang's blog
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于

LeetCode Rectangle Area

DescriptionFind the total area covered by two rectilinear rectangles in a 2D plane. Each rectangle is defined by its bottom left corner and top right corner as shown in the figure. The original proble
7月 26 2015
#leetcode

LeetCode Remove Duplicates From Sorted List2

DescriptionGiven a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. For example,Given 1->2->3->3->4->4->5, retu
7月 26 2015
#leetcode

LeetCode Roman To Integer

DescriptionGiven a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. The original problem is here. The original code is here.
7月 26 2015
#leetcode

LeetCode Longest Palindromic Substring

DescriptionGiven a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. The original p
7月 26 2015
#leetcode

LeetCode String To Integer

DescriptionImplement atoi to convert a string to an integer. The original problem is here. The original code is here.
7月 26 2015
#leetcode

LeetCode 4 Sum

DescriptionGiven an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target. Note:Element
7月 26 2015
#leetcode

LeetCode 3 Sum Closest

DescriptionGiven an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would h
7月 25 2015
#leetcode

LeetCode 3 Sum

DescriptionGiven an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note:Elements in a triplet (a,b,c
7月 25 2015
#leetcode

LeetCode Path Sum2

DescriptionGiven a binary tree and a sum, find all root-to-leaf paths where each path’s sum equals the given sum. For example:Given the below binary tree and sum = 22, 5 / \
7月 24 2015
#leetcode

LeetCode Evaluate Reverse Polish Notation

DescriptionEvaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another expression. Some examples: ["2"
7月 24 2015
#leetcode
1…910111213…26

搜索

Hexo Fluid
总访问量 次 总访客数 人
京ICP证123456号 | police-icon 京公网安备12345678号