原文:4 Sum leetcode java

題目: Given 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: Elements in a quadrupl ...

2014-07-22 11:05 0 3089 推薦指數:

查看詳情

Two Sum leetcode java

題目: Given an array of integers, find two numbers such that they add up to a specific target number ...

Tue Jul 22 11:44:00 CST 2014 3 6541
Combination Sum leetcode java

題目: Given a set of candidate numbers (C) and a target number (T), find all unique combinations in ...

Fri Aug 01 18:11:00 CST 2014 0 5096
3 Sum leetcode java

the sum of zero. Note: Elements in a triplet (a,b,c) ...

Tue Jul 22 13:13:00 CST 2014 3 6276
Path Sum leetcode java

題目: Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given ...

Thu Jul 31 10:43:00 CST 2014 0 2766
Path Sum II leetcode java

題目: Given 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 ...

Thu Jul 31 11:21:00 CST 2014 1 3123
3Sum Closest leetcode java

題目: Given 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 ...

Tue Jul 22 19:35:00 CST 2014 1 3618
Combination Sum II leetcode java

題目: Given a collection of candidate numbers (C) and a target number (T), find all unique combinati ...

Sat Aug 02 08:24:00 CST 2014 0 2631
Binary Tree Maximum Path Sum leetcode java

題目: Given a binary tree, find the maximum path sum. The path may start and end at any node in the tree. For example: Given the below binary ...

Sat Aug 02 15:51:00 CST 2014 3 2060
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM