Measuring programming progress by lines of code is like measuring aircraft building progress by weight. Bill Gates

Three sum from array

Language Java | Level Intermediate | Category Data structure | September 9, 2015 10:24 am


Data structure Description

Write a program to give three sums from the array.


Output

   					 

List of items form array: [-1, 0, 1, 2, -1, -4]
Sum of two items '0' : [[-1, -1, 2], [-1, 0, 1]]

				    

Comments


No comments available!

Please login to add comments.