Finding repeated elements in array of integers

Medium

Create a function that, given an array of integers, returns the first repeating element in the array. If there are no duplicates, return -1....

Sign in to InterviewQs to view this question

Or

New to InterviewQs? Sign up now.

By proceeding, you agree to our Terms and Conditions and Privacy Policy.

Loading editor...