/Data-Structures-and-Algorithms

Algorithms & Data Structures in Go

Primary LanguageGoMIT LicenseMIT

Data-Structures-and-Algorithms

Algorithms & Data Structures in Go中文

大纲

data-structures

一.liner structures

static linked list

single linked list

ring linked list

doubly linked list

3.queue

  • may attention tail<head
  • FIFO
  • LIFO

use

  • editor-undo
  • os-system call stack
  • language compiler(GCC)-backspace compare

二.tree

  • max/min heap
  • index heap

7.set

三.graph

  • BFS
  • DFS
  • MST Prim
  • MST Kruskal

algorithm

一、sort

二.consistent hash

三.dynamic programming

四.greedy algorithm