nums is sorted from smallest to largest. Return true if two different entries add up to target, and false otherwise.nums is sorted from smallest to largest. Return true if two different entries add up to target, and false otherwise.// Run your code to see the output here.