Replace Array Value Javascript Interview Coding Challenges Practice