Wednesday, December 14, 2011
If pairwise sums of 'n' numbers are given in non-decreasing order identify the individual numbers. If the sum is corrupted print -1 Example: i/p: 4 5 7 10 12 13 o/p: 1 3 4 9
Labels:Data
Amazon Interview
Subscribe to:
Post Comments
(
Atom
)