천천히 앞으로!

천천히 앞으로!

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

천천히 앞으로!

컨텐츠 검색

태그

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

최근글

댓글

공지사항

아카이브

Linked(2)

  • (Javascript) [자료구조] List(3)

    원형 연결 리스트 마지막 노드가 처음 노드를 가리키는 연결 리스트 앞 노드와 뒤 노드가 연결이 되어 있고, 마지막 노드인 꼬리가 첫 노드인 헤드로 연결이 되어 있는 연결 리스트 function Node(data) { this.data = data; this.next = undefined; } function CircularLinkList() { this.head = null; this.tail = null; this.size = 0; } CircularLinkList.prototype.insert = function (data) { if (!this.head) { this.head = this.tail = new Node(data); this.head.next = this.head; } else { th..

    2023.01.16
  • (Javascript) [자료구조] List(2)

    이중 연결 리스트 Double Linked List : 리스트를 이루고 있는 노드 하나에 해당 노드의 값과 다음 노드에 대한 주소, 그리고 자신의 이전 노드에 대한 주소도 갖게 된다. 이에 자신의 다음노드와 이전노드로의 이동이 수월 단일 연결 리스트를 확장하여 양방향으로 링크가 구성되는 이중 연결 리스트를 만들 수 있다. 단일 연결 리스트의 노드가 next 주소만 가지고 있다면, 이중 연결 리스트는 이전주소(prev)와 다음 주소 (next)를 갖는다. class Node { constructor(data) { this.data = data; this.prev = undefined; this.next = undefined; } } class DoubleLinkedList { constructor() { ..

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

티스토리툴바