Given a list of integers and desiredSum, find the threshold value such that if we replace all the values in the input list which are greater then threshold value with the threshold value then the sum of the list should be equal to the desired sum. Testcase 1 in = [2,1,5] desiredSum = 6 output = 3 Testcase 2 in = [2,1,5] desiredSum = 2 output = 0.67 Testcase 3 in = [2,1,5] desiredSum = 4 output = 1.5 Testcase 4 in = [2,1,5] desiredSum = 1 output = 0.33