First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack. George Carrette

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.