선택 정렬 Selection Sort

// ASC

const array = [9, 2, 7, 6, 1];

function solution(problem) {
    const solutionArray = problem;
    const findMinValue = Math.min(problem);
    const findIndex = problem.indexOf((value) => value === findMinValue);
    const splice = problem.splice()

}


Last updated