https://velog.io/@gygy/Code-Signal-Array-Replace오늘자 알고리즘을 풀면서 사용한모든 요소의 인덱스를 검색하는 방법에 대해 정리한다.arr.indexOf(searchElement\[, fromIndex])지금까지는 첫번째 매
Description Given an array of integers, replace all the occurrences of elemToReplace with substitutionElem. Example For inputArray = [1, 2, 1], elem