Algorithm · Citadel · Easy
Second Distinct Maximum Easy · Topics · Company Tags · Hints You are given a list of integers. Find the second largest value among its unique (distinct) elements. If the list contains fewer than two different numbers, the answer is None. You must read the input as follows: The first line contains an integer n – the number of integers. The second line contains n space‑separated integers. It may be empty when n is 0. Print the second largest distinct value, or None when it…
Checking your access…