algorithm

module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2024 License: Apache-2.0

README

Algorithm (Sedgewick, 4th) implemented in golang.
Document

Basic

  • Stack
  • Queue
    • Array List
    • Linked List
  • Set
  • Union-Find

Sorting

  • Bubblesort
  • Heapsort
  • Insertsort
  • Mergesort
  • Quicksort
  • Selectsort
  • Shellsort

Searching

Graphs

  • Directed Graph
    • BFS
    • DFS
    • Reachability
    • Strongly Connected Components (kosaraju)
    • Bipartite Graph
    • Topological Sorting
    • Ring Detection
  • Undirected Graph
    • Subgraph
    • Ring Detection
  • Minimum Spanning Tree
    • Lazy-Prim
    • Prim
    • Kruskal
  • Shortest Path
    • Dijkstra
    • Topological
    • BellmanFord

Strings

Priority Queues

  • Heap
  • Leftist Heap
  • Binomial Heap

Directories

Path Synopsis
assets

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL