Druva Interview Question

string challenge array challenge replace the word