Interview Question

Interview

Given an unsorted array of numbers 1-10,000 with no

  repeats, a number is replaced with -1. How would you identify which number was replaced?
Answer

Add Answers or Comments

To comment on this, Sign In or Sign Up.