Recap Challenge #2
Lesson 13 of 14 in Coddy's Strings and Arrays in C# course.
Challenge
MediumWrite a function named secondLargest that gets an array of integers and returns the second largest number in the array.
Try it yourself
using System;
class SecondLargest {
public static int secondLargest(int[] nums) {
// Write code here
}
}