Topic: Array Problem / Level: beginner

Problem: Replace all negative numbers in an array with the absolute value of their index.

Run the code to see the output here...