Please write a C# method that returns the second highest distinct number in an integer array. Example: input [10, 5, 20, 8, 20] should return 10 because 20 is highest and 10 is the next distinct value.
PwC · Full Stack Developer · technical
Published
Year not specified · C#
Community answers
No answers yet. Be the first to share your experience.