Find Whether Sum of two elements in an Array is equal to a given value + Modified Binary Search

Done with two method 1. Binary Search 2. Using Both Ends