Wednesday, September 14, 2011
Given two arrays [5 6 2 8 1] or [4 7 9 2 4]. you have to find possible pairs where sum of numbers in both arrays of a pair is equal....eg for the first case it will be [5 6] and [2 8 1] efficiently .
Labels:Data
Amazon Interview
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment