Tag: Second highest

Find the second largest element from array in javascript (Hackerrank problem)

Function Description Complete the getSecondLargest function in the editor below. getSecondLargest has the following parameters: int nums[n]: An array of integers number. (The largest number may be dublicate) Returns The second largest number

Read More »