Your question is First Non-Repeating Element. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Wurl processes ordered values used in streaming experiences. Given an array of integers, return the first element that appears exactly once in the array.
The element must be selected according to its position in the original array, not according to its numeric value. If every element repeats, return None.
Implement first_unique(nums).
nums, a non-empty list of integers.None if no such integer exists.def first_unique(nums):