천천히 앞으로!

천천히 앞으로!

  • 분류 전체보기
    • HTML&CSS
    • Javascript
    • Node.js
    • React
    • BlockChain
    • C++
    • Programmers
    • TypeScript
    • Project
    • Life
    • DevOps
  • 홈
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

천천히 앞으로!

컨텐츠 검색

태그

nodejs programmers solidity multer JavaScript TS typescript CI/CD Token ERC721 자료구조 Blockchain react 배열 Ethereum JS nft 프로그래머스 Interface metamask

최근글

댓글

공지사항

아카이브

선택정렬(1)

  • (Javascript) selectionSort

    selectionSort(선택정렬) function swap(arr, idx1, idx2) { const temp = arr[idx1]; arr[idx1] = arr[idx2]; arr[idx2] = temp; } function selectSort(arr) { const tempArr = [...arr]; for (let i = 0; i tempArr[j]) minIdx = j; } swap(tempArr, minIdx, i); } return tempArr; } 선택정렬은 배열의 최솟값을 찾아서 그걸..

    2023.01.16
이전
1
다음
티스토리
© 2025 TISTORY. All rights reserved.

티스토리툴바