Problem Description

Task: return the second largest distinct value. If it does not exist, return Integer.MIN_VALUE.

Input Format

Java method

Output Format

Return value

Constraints

Works with duplicates and negatives.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next