well if the index of the elements are not imp then it's fine...but if they are then may be we will have to use some other way.. like find all the indexes from left (i) and right(j) till the sum is equal to the required sum and then find all possible pair of the indexes. thnx
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---