Python Array Contains String Javascript Program Interview