Challenge: First Non-Repeating Integer in an Array

Try to solve the First NonRepeating Integer in an Array problem.

We'll cover the following

Statement

Given an array nums, find the first nonrepeating integer in it.

Constraints:

  • 11 \leq nums.length 103\leq 10^3

  • 104-10^4 \leq nums[i] 104 \leq 10^4

Examples

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.