Skip to content

euijinkk/algorithm

Repository files navigation

알고리즘 Execution Time 측정

console.time("getPermutations");

// 알고리즘 실행
const permutations = getPermutations([1, 2, 3, 4, 5, 6]);

// 측정할 알고리즘 끝난 후
console.timeEnd("getPermutations");
  • n 이 무수히 커야한다.

문제 푸는 방법

  1. 설명하면서 문제 풀기
  2. 알고리즘 전략 분석 (시간복잡도, 공간복잡도, 자료구조, 방법론)
  3. 알고리즘 개선하기

About

자료구조, 알고리즘 학습

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors