Hi, the task about finding a second maximum value might need some clarification.

Do we need to find the second largest number?

Ex. in a list [5,2,8,8], do you expect the result to be 5, because 8 is the largest number,

or

8, because this list has two maximum numbers, so… kind of… both of them take slots of two largest numbers?

If former, then there’s a bug in Solution 3.