First Unique Number
CodingPhone, OnsiteSoftware EngineerReported Jul, 2026High Frequency
Company question banks are included with the Insider plan.
You have a queue of integers, and you need to retrieve the first unique integer in the queue.
Implement the FirstUnique class:
FirstUnique(int[] nums) Initializes the object with the numbers in...