A sorted array 'A' of 'N' positive nos. is given. Given a no. 'X', find if there are 2 nos. present in the given array such that there sum equals 'X'. ( looking for an efficient method )
JIGYASA
Permissions in this forum:
You cannot reply to topics in this forum
|
|