[DA] Data structures Intro

Data structures(자료구조)

일차원인 컴퓨터 메모리를 현실에 대응되도록 구조를 만든 것

  1. 단순구조: 정수, 실수, 문자, 문자열
  2. 선형구조: 배열, 연결리스트, 스택, 큐
  3. 비선형구조: 트리, 그래프

시간복잡도(로그의 밑은 2)

bigO

성능측정

const start = new Date().getTime();

// Your code

const end = new Date().getTime();

console.log(end - start);

Categories:

Updated:

Leave a comment