# 자바스크립트 알고리즘 문제풀이를 위한 꿀팁들

  • shift, unshift은 느리다(O(n)).
  • console.log는 느리다. Array.join 등을 이용해 되도록 적게 호출하도록 하자.