4118 Tcs Course Answers [portable] -

function secondLargest(arr): if len(arr) == 0: return -1