...

/

Challenge: Index Array

Challenge: Index Array

Let’s solve the index array problem.

Problem

You are given an array of size n, containing elements from indexes 0 to n-1. All values from 0 to n-1 are present in the array, and if a value is not in the array, then ...