First unique number in list

Java Medium 7 views
Back to Questions

Problem Description

Task: return the first number that appears exactly once in the list, else return null.

Input Format

Java method

Output Format

Return value

Constraints

Preserve insertion order using LinkedHashMap.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next