Coder Social home page Coder Social logo

data-structure-javascript's Introduction

data-structure-javascript

자바스크립트로 구현해보는 자료 구조 🗄

Stack

  • Greedy Algorithm

Linked List 연결리스트

Queue 큐

  • 연결리스트로 구현
  • 배열로 구현 ( 추천 : ⭐️⭐️⭐️ ) : BFS/DFS (간선)

Hash Table 해시테이블

  • Map으로 구현 ( 추천 : ⭐️⭐️ )

Graph

  • 인접 행렬 / 인접 리스트

Tree

  • 이진 트리 with 배열 / 연결리스트 (+큐)

Heap ( O(log(n)))

  • 다익스트라 (간선 with 가중치)
  • Math.max... ( O(n)) 이나 정렬 ( O(nlog(n))) 보다 효율적인 방법

Trie

  • 인접 리스트

Binary Search ( O(log(n)))

Sort

Recursive Functoin 재귀 함수

  • 순열, 조합
  • 트리 순회 (전위, 중위, 후위)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.