2023-09-21 06:40:39 +00:00
<!DOCTYPE html> < html class = "default" lang = "en" > < head > < meta charSet = "utf-8" / > < meta http-equiv = "x-ua-compatible" content = "IE=edge" / > < title > data-structure-typed< / title > < meta name = "description" content = "Documentation for data-structure-typed" / > < meta name = "viewport" content = "width=device-width, initial-scale=1" / > < link rel = "stylesheet" href = "assets/style.css" / > < link rel = "stylesheet" href = "assets/highlight.css" / > < script defer src = "assets/main.js" > < / script > < script async src = "assets/search.js" id = "tsd-search-script" > < / script > < / head > < body > < script > document . documentElement . dataset . theme = localStorage . getItem ( "tsd-theme" ) || "os" < / script > < header class = "tsd-page-toolbar" >
< div class = "tsd-toolbar-contents container" >
< div class = "table-cell" id = "tsd-search" data-base = "." >
< div class = "field" > < label for = "tsd-search-field" class = "tsd-widget tsd-toolbar-icon search no-caption" > < svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" > < path d = "M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill = "var(--color-text)" > < / path > < / svg > < / label > < input type = "text" id = "tsd-search-field" aria-label = "Search" / > < / div >
< div class = "field" >
< div id = "tsd-toolbar-links" > < / div > < / div >
< ul class = "results" >
< li class = "state loading" > Preparing search index...< / li >
< li class = "state failure" > The search index is not available< / li > < / ul > < a href = "index.html" class = "title" > data-structure-typed< / a > < / div >
< div class = "table-cell" id = "tsd-widgets" > < a href = "#" class = "tsd-widget tsd-toolbar-icon menu no-caption" data-toggle = "menu" aria-label = "Menu" > < svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" > < rect x = "1" y = "3" width = "14" height = "2" fill = "var(--color-text)" > < / rect > < rect x = "1" y = "7" width = "14" height = "2" fill = "var(--color-text)" > < / rect > < rect x = "1" y = "11" width = "14" height = "2" fill = "var(--color-text)" > < / rect > < / svg > < / a > < / div > < / div > < / header >
< div class = "container container-main" >
< div class = "col-content" >
< div class = "tsd-page-title" >
< h2 > data-structure-typed< / h2 > < / div >
2023-09-25 09:18:14 +00:00
< div class = "tsd-panel tsd-typography" > < a id = "md:data-structure-typed" class = "tsd-anchor" > < / a > < h1 > < a href = "#md:data-structure-typed" > Data Structure Typed< / a > < / h1 > < p > Data Structures of Javascript & TypeScript.< / p >
2023-09-27 03:15:38 +00:00
< p > Do you envy languages like C++ with < span style = "border-radius: 5px;background-color: #0A7DBE; color: #ffffff; padding: 0 3px;" > std< / span > , Python with < span style = "border-radius: 5px;background-color: #0A7DBE; color: #ffffff; padding: 0 3px;" > collections< / span > , and Java with < span style = "border-radius: 5px;background-color: #0A7DBE; color: #ffffff; padding: 0 3px;" > java.util< / span > ? Well, no need to envy anymore! JavaScript and TypeScript now have < span style = "border-radius: 5px;background-color: #0A7DBE; color: #ffffff; padding: 0 3px;" > data-structure-typed< / span > < / p >
< p > Now you can use this library in Node.js and browser environments in CommonJS(require export.modules = ), ESModule(import export), Typescript(import export), UMD(var Queue = dataStructureTyped.Queue)< / p >
2023-09-25 09:18:14 +00:00
< p > < img src = "https://img.shields.io/badge/License-MIT-blue.svg" alt = "License" >
2023-09-22 02:40:12 +00:00
< img src = "https://img.shields.io/github/languages/top/zrwusa/data-structure-typed" alt = "Language" >
< img src = "https://img.shields.io/github/v/release/zrwusa/data-structure-typed" alt = "GitHub release (latest by date)" >
< img src = "https://img.shields.io/badge/branches-97.54%25-brightgreen.svg?style=flat" alt = "Branches" >
< img src = "https://aleen42.github.io/badges/src/npm.svg" alt = "npm" >
< img src = "https://aleen42.github.io/badges/src/eslint.svg" alt = "eslint" > < / p >
2023-09-25 03:16:04 +00:00
< a id = "md:built-in-classic-algorithms" class = "tsd-anchor" > < / a > < h2 > < a href = "#md:built-in-classic-algorithms" > Built-in classic algorithms< / a > < / h2 > < p > DFS(Depth-First Search), DFSIterative, BFS(Breadth-First Search), morris, Bellman-Ford Algorithm, Dijkstra' s Algorithm,
Floyd-Warshall Algorithm, Tarjan' s Algorithm.< / p >
2023-09-25 09:18:14 +00:00
< a id = "md:installation-and-usage" class = "tsd-anchor" > < / a > < h2 > < a href = "#md:installation-and-usage" > Installation and Usage< / a > < / h2 > < a id = "md:npm" class = "tsd-anchor" > < / a > < h3 > < a href = "#md:npm" > npm< / a > < / h3 > < pre > < code class = "language-bash" > < span class = "hl-0" > npm< / span > < span class = "hl-1" > < / span > < span class = "hl-2" > i< / span > < span class = "hl-1" > < / span > < span class = "hl-2" > data-structure-typed< / span > < span class = "hl-1" > < / span > < span class = "hl-3" > --save< / span >
2023-09-21 06:40:39 +00:00
< / code > < button > Copy< / button > < / pre >
< a id = "md:yarn" class = "tsd-anchor" > < / a > < h3 > < a href = "#md:yarn" > yarn< / a > < / h3 > < pre > < code class = "language-bash" > < span class = "hl-0" > yarn< / span > < span class = "hl-1" > < / span > < span class = "hl-2" > add< / span > < span class = "hl-1" > < / span > < span class = "hl-2" > data-structure-typed< / span >
< / code > < button > Copy< / button > < / pre >
2023-09-26 11:43:45 +00:00
< a id = "md:cdn" class = "tsd-anchor" > < / a > < h3 > < a href = "#md:cdn" > CDN< / a > < / h3 > < pre > < code class = "language-html" > < br / > < span class = "hl-4" > < < / span > < span class = "hl-5" > script< / span > < span class = "hl-6" > < / span > < span class = "hl-7" > src< / span > < span class = "hl-6" > =< / span > < span class = "hl-8" > ' https://cdn.jsdelivr.net/npm/data-structure-typed/umd/bundle.min.js' < / span > < span class = "hl-4" > > < /< / span > < span class = "hl-5" > script< / span > < span class = "hl-4" > > < / span >
2023-09-21 06:40:39 +00:00
< / code > < button > Copy< / button > < / pre >
2023-09-25 03:16:04 +00:00
< pre > < code class = "language-js" > < span class = "hl-3" > const< / span > < span class = "hl-1" > {< / span > < span class = "hl-9" > AVLTree< / span > < span class = "hl-1" > } = < / span > < span class = "hl-10" > dataStructureTyped< / span > < span class = "hl-1" > ;< / span > < br / > < span class = "hl-3" > const< / span > < span class = "hl-1" > {< / span > < br / > < span class = "hl-1" > < / span > < span class = "hl-9" > Heap< / span > < span class = "hl-1" > ,< / span > < br / > < span class = "hl-1" > < / span > < span class = "hl-9" > MinHeap< / span > < span class = "hl-1" > ,< / span > < br / > < span class = "hl-1" > < / span > < span class = "hl-9" > SinglyLinkedList< / span > < span class = "hl-1" > ,< / span > < br / > < span class = "hl-1" > < / span > < span class = "hl-9" > Stack< / span > < span class = "hl-1" > ,< / span > < br / > < span class = "hl-1" > < / span > < span class = "hl-9" > AVLTreeNode< / span > < span class = "hl-1" > ,< / span > < br / > < span class = "hl-1" > < / span > < span class = "hl-9" > BST< / span > < span class = "hl-1" > ,< / span > < br / > < span class = "hl-1" > < / span > < span class = "hl-9" > Trie< / span > < span class = "hl-1" > ,< / span > < br / > < span class = "hl-1" > < / span > < span class = "hl-9" > DirectedGraph< / span > < span class = "hl-1" > ,< / span > < br / > < span class = "hl-1" > < / span > < span class = "hl-9" > DirectedVertex< / span > < span class = "hl-1" > ,< / span > < br / > < span class = "hl-1" > < / span > < span class = "hl-9" > TreeMultiset< / span > < br / > < span class = "hl-1" > } = < / span > < span class = "hl-10" > dataStructureTyped< / span > < span class = "hl-1" > ;< / span >
2023-09-21 06:40:39 +00:00
< / code > < button > Copy< / button > < / pre >
< p > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/examples/videos/webp_output/binary-tree-array-to-binary-tree.webp" alt = "" >
< img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/examples/videos/webp_output/binary-tree-dfs-in-order.webp" alt = "" >
< img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/examples/videos/webp_output/avl-tree-test.webp" alt = "" >
< img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/examples/videos/webp_output/tree-multiset-test.webp" alt = "" >
< img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/examples/videos/webp_output/matrix-cut-off-tree-for-golf.webp" alt = "" >
< img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/examples/videos/webp_output/directed-graph-test.webp" alt = "" >
< img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/examples/videos/webp_output/map-graph-test.webp" alt = "" > < / p >
< a id = "md:api-docs-amp-examples" class = "tsd-anchor" > < / a > < h2 > < a href = "#md:api-docs-amp-examples" > API docs & Examples< / a > < / h2 > < p > < a href = "https://data-structure-typed-docs.vercel.app" > API Docs< / a > < / p >
< p > < a href = "https://vivid-algorithm.vercel.app" > Live Examples< / a > < / p >
< p > < a href = "https://github.com/zrwusa/vivid-algorithm" target = "_blank" > Examples Repository< / a > < / p >
2023-09-26 11:43:45 +00:00
< a id = "md:code-snippet" class = "tsd-anchor" > < / a > < h2 > < a href = "#md:code-snippet" > Code Snippet< / a > < / h2 > < a id = "md:binary-search-tree-bst-snippet" class = "tsd-anchor" > < / a > < h3 > < a href = "#md:binary-search-tree-bst-snippet" > Binary Search Tree (BST) snippet< / a > < / h3 > < a id = "md:ts" class = "tsd-anchor" > < / a > < h4 > < a href = "#md:ts" > TS< / a > < / h4 > < pre > < code class = "language-ts" > < span class = "hl-11" > import< / span > < span class = "hl-1" > {< / span > < span class = "hl-10" > BST< / span > < span class = "hl-1" > , < / span > < span class = "hl-10" > BSTNode< / span > < span class = "hl-1" > } < / span > < span class = "hl-11" > from< / span > < span class = "hl-1" > < / span > < span class = "hl-2" > ' data-structure-typed' < / span > < span class = "hl-1" > ;< / span > < br / > < br / > < span class = "hl-3" > const< / span > < span class = "hl-1" > < / span > < span class = "hl-9" > bst< / span > < span class = "hl-1" > = < / span > < span class = "hl-3" > new< / span > < span class = "hl-1" > < / span > < span class = "hl-0" > BST< / span > < span class = "hl-1" > ();< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > add< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 11< / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > add< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 3< / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addMany< / span > < span class = "hl-1" > ([< / span > < span class = "hl-12" > 15< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 1< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 8< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 13< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 16< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 2< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 6< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 9< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 12< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 14< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 4< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 7< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 10< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 5< / span > < span class = "hl-1" > ]);< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-10" > size< / span > < span class = "hl-1" > === < / span > < span class = "hl-12" > 16< / span > < span class = "hl-1" > ; < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > has< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 6< / span > < span class = "hl-1" > ); < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-3" > const< / span > < span class = "hl-1" > < / span > < span class = "hl-9" > node6< / span > < span class = "hl-1" > = < / span > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > get< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 6< / span > < span class = "hl-1" > ); < / span > < span class = "hl-13" > // BSTNode< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > getHeight< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 6< / span > < span class = "hl-1" > ) === < / span > < span class = "hl-12" > 2< / span > < span class = "hl-1" > ; < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > getHeight< / span > < span class = "hl-1" > () === < / span > < span class = "hl-12" > 5< / span > < span class = "hl-1" > ; < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > getDepth< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 6< / span > < span class = "hl-1" > ) === < / span > < span class = "hl-12" > 3< / span > < span class = "hl-1" > ; < / span > < span class = "hl-13" > // true< / span > < br / > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > getLeftMost< / span > < span class = "hl-1" > ()?.< / span > < span class = "hl-10" > id< / span > < span class = "hl-1" > === < / span > < span class = "hl-12" > 1< / span > < span class = "hl-1" > ; < / span > < span class = "hl-13" > // true< / span > < br / > < br / > < span class = "hl-10" > bst< / span > <
2023-09-21 06:40:39 +00:00
< / code > < button > Copy< / button > < / pre >
2023-09-25 03:16:04 +00:00
< a id = "md:js" class = "tsd-anchor" > < / a > < h4 > < a href = "#md:js" > JS< / a > < / h4 > < pre > < code class = "language-js" > < span class = "hl-3" > const< / span > < span class = "hl-1" > {< / span > < span class = "hl-9" > BST< / span > < span class = "hl-1" > , < / span > < span class = "hl-9" > BSTNode< / span > < span class = "hl-1" > } = < / span > < span class = "hl-0" > require< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' data-structure-typed' < / span > < span class = "hl-1" > );< / span > < br / > < br / > < span class = "hl-3" > const< / span > < span class = "hl-1" > < / span > < span class = "hl-9" > bst< / span > < span class = "hl-1" > = < / span > < span class = "hl-3" > new< / span > < span class = "hl-1" > < / span > < span class = "hl-0" > BST< / span > < span class = "hl-1" > ();< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > add< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 11< / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > add< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 3< / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addMany< / span > < span class = "hl-1" > ([< / span > < span class = "hl-12" > 15< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 1< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 8< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 13< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 16< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 2< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 6< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 9< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 12< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 14< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 4< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 7< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 10< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 5< / span > < span class = "hl-1" > ]);< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-10" > size< / span > < span class = "hl-1" > === < / span > < span class = "hl-12" > 16< / span > < span class = "hl-1" > ; < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > has< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 6< / span > < span class = "hl-1" > ); < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-3" > const< / span > < span class = "hl-1" > < / span > < span class = "hl-9" > node6< / span > < span class = "hl-1" > = < / span > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > get< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 6< / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > getHeight< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 6< / span > < span class = "hl-1" > ) === < / span > < span class = "hl-12" > 2< / span > < span class = "hl-1" > ; < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > getHeight< / span > < span class = "hl-1" > () === < / span > < span class = "hl-12" > 5< / span > < span class = "hl-1" > ; < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > getDepth< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 6< / span > < span class = "hl-1" > ) === < / span > < span class = "hl-12" > 3< / span > < span class = "hl-1" > ; < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-3" > const< / span > < span class = "hl-1" > < / span > < span class = "hl-9" > leftMost< / span > < span class = "hl-1" > = < / span > < span class = "hl-10" > bst< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > getLeftMost< / span > < span class = "hl-1" > ();< / span > < br / > < span class = "hl-10" > leftMost< / span > < span class = "hl-1" > ?.< / span > < span class = "hl-10" > id< / span > < span class = "hl-1" > === < / span > < span class = "hl-12" > 1< / span > < span class = "hl-1" > ; < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-0" > expect< / span > < span class = "hl-1" > (< / span > < span class = "hl-10" > leftMost< / span > < span class = "hl-1" > ?.< / span > < span class = "hl-10" > id< / span > < span class = "hl-1" > ).< / span > < span clas
2023-09-21 06:40:39 +00:00
< / code > < button > Copy< / button > < / pre >
2023-09-24 13:31:09 +00:00
< a id = "md:avltree-snippet" class = "tsd-anchor" > < / a > < h3 > < a href = "#md:avltree-snippet" > AVLTree snippet< / a > < / h3 > < a id = "md:ts-1" class = "tsd-anchor" > < / a > < h4 > < a href = "#md:ts-1" > TS< / a > < / h4 > < pre > < code class = "language-ts" > < span class = "hl-11" > import< / span > < span class = "hl-1" > {< / span > < span class = "hl-10" > AVLTree< / span > < span class = "hl-1" > } < / span > < span class = "hl-11" > from< / span > < span class = "hl-1" > < / span > < span class = "hl-2" > ' data-structure-typed' < / span > < span class = "hl-1" > ;< / span > < br / > < br / > < span class = "hl-3" > const< / span > < span class = "hl-1" > < / span > < span class = "hl-9" > avlTree< / span > < span class = "hl-1" > = < / span > < span class = "hl-3" > new< / span > < span class = "hl-1" > < / span > < span class = "hl-0" > AVLTree< / span > < span class = "hl-1" > ();< / span > < br / > < span class = "hl-10" > avlTree< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addMany< / span > < span class = "hl-1" > ([< / span > < span class = "hl-12" > 11< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 3< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 15< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 1< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 8< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 13< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 16< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 2< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 6< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 9< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 12< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 14< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 4< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 7< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 10< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 5< / span > < span class = "hl-1" > ])< / span > < br / > < span class = "hl-10" > avlTree< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > isAVLBalanced< / span > < span class = "hl-1" > (); < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-10" > avlTree< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > remove< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 10< / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > avlTree< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > isAVLBalanced< / span > < span class = "hl-1" > (); < / span > < span class = "hl-13" > // true< / span >
2023-09-21 16:53:34 +00:00
< / code > < button > Copy< / button > < / pre >
2023-09-24 13:31:09 +00:00
< a id = "md:js-1" class = "tsd-anchor" > < / a > < h4 > < a href = "#md:js-1" > JS< / a > < / h4 > < pre > < code class = "language-js" > < span class = "hl-3" > const< / span > < span class = "hl-1" > {< / span > < span class = "hl-9" > AVLTree< / span > < span class = "hl-1" > } = < / span > < span class = "hl-0" > require< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' data-structure-typed' < / span > < span class = "hl-1" > );< / span > < br / > < br / > < span class = "hl-3" > const< / span > < span class = "hl-1" > < / span > < span class = "hl-9" > avlTree< / span > < span class = "hl-1" > = < / span > < span class = "hl-3" > new< / span > < span class = "hl-1" > < / span > < span class = "hl-0" > AVLTree< / span > < span class = "hl-1" > ();< / span > < br / > < span class = "hl-10" > avlTree< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addMany< / span > < span class = "hl-1" > ([< / span > < span class = "hl-12" > 11< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 3< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 15< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 1< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 8< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 13< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 16< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 2< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 6< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 9< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 12< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 14< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 4< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 7< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 10< / span > < span class = "hl-1" > , < / span > < span class = "hl-12" > 5< / span > < span class = "hl-1" > ])< / span > < br / > < span class = "hl-10" > avlTree< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > isAVLBalanced< / span > < span class = "hl-1" > (); < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-10" > avlTree< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > remove< / span > < span class = "hl-1" > (< / span > < span class = "hl-12" > 10< / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > avlTree< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > isAVLBalanced< / span > < span class = "hl-1" > (); < / span > < span class = "hl-13" > // true< / span >
2023-09-21 16:53:34 +00:00
< / code > < button > Copy< / button > < / pre >
2023-09-24 13:31:09 +00:00
< a id = "md:directed-graph-simple-snippet" class = "tsd-anchor" > < / a > < h3 > < a href = "#md:directed-graph-simple-snippet" > Directed Graph simple snippet< / a > < / h3 > < a id = "md:ts-or-js" class = "tsd-anchor" > < / a > < h4 > < a href = "#md:ts-or-js" > TS or JS< / a > < / h4 > < pre > < code class = "language-ts" > < span class = "hl-11" > import< / span > < span class = "hl-1" > {< / span > < span class = "hl-10" > DirectedGraph< / span > < span class = "hl-1" > } < / span > < span class = "hl-11" > from< / span > < span class = "hl-1" > < / span > < span class = "hl-2" > ' data-structure-typed' < / span > < span class = "hl-1" > ;< / span > < br / > < br / > < span class = "hl-3" > const< / span > < span class = "hl-1" > < / span > < span class = "hl-9" > graph< / span > < span class = "hl-1" > = < / span > < span class = "hl-3" > new< / span > < span class = "hl-1" > < / span > < span class = "hl-0" > DirectedGraph< / span > < span class = "hl-1" > ();< / span > < br / > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addVertex< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' A' < / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addVertex< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' B' < / span > < span class = "hl-1" > );< / span > < br / > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > hasVertex< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' A' < / span > < span class = "hl-1" > ); < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > hasVertex< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' B' < / span > < span class = "hl-1" > ); < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > hasVertex< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' C' < / span > < span class = "hl-1" > ); < / span > < span class = "hl-13" > // false< / span > < br / > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addEdge< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' A' < / span > < span class = "hl-1" > , < / span > < span class = "hl-2" > ' B' < / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > hasEdge< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' A' < / span > < span class = "hl-1" > , < / span > < span class = "hl-2" > ' B' < / span > < span class = "hl-1" > ); < / span > < span class = "hl-13" > // true< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > hasEdge< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' B' < / span > < span class = "hl-1" > , < / span > < span class = "hl-2" > ' A' < / span > < span class = "hl-1" > ); < / span > < span class = "hl-13" > // false< / span > < br / > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > removeEdgeSrcToDest< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' A' < / span > < span class = "hl-1" > , < / span > < span class = "hl-2" > ' B' < / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > hasEdge< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' A' < / span > < span class = "hl-1" > , < / span > < span class = "hl-2" > ' B' < / span > < span class = "hl-1" > ); < / span > < span class = "hl-13" > // false< / span > < br / > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addVertex< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' C' < / span > < span class = "hl-1" > );< / span > < br / > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addEdge< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' A' < / span > < span class = "hl-1" > , < / span > < span class = "hl-2" > ' B' < / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addEdge< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' B' < / span > < span class = "hl-1" > , < / span > < span class = "hl-2" > ' C' < / span > < span class = "hl-1" > );< / span > < br / > < br / > < span class = "hl-3" > const< / span > < span class = "hl-1" > < / span > < span class = "hl-9" > topologicalO
2023-09-21 06:40:39 +00:00
< / code > < button > Copy< / button > < / pre >
2023-09-24 13:31:09 +00:00
< a id = "md:undirected-graph-snippet" class = "tsd-anchor" > < / a > < h3 > < a href = "#md:undirected-graph-snippet" > Undirected Graph snippet< / a > < / h3 > < a id = "md:ts-or-js-1" class = "tsd-anchor" > < / a > < h4 > < a href = "#md:ts-or-js-1" > TS or JS< / a > < / h4 > < pre > < code class = "language-ts" > < span class = "hl-11" > import< / span > < span class = "hl-1" > {< / span > < span class = "hl-10" > UndirectedGraph< / span > < span class = "hl-1" > } < / span > < span class = "hl-11" > from< / span > < span class = "hl-1" > < / span > < span class = "hl-2" > ' data-structure-typed' < / span > < span class = "hl-1" > ;< / span > < br / > < br / > < span class = "hl-3" > const< / span > < span class = "hl-1" > < / span > < span class = "hl-9" > graph< / span > < span class = "hl-1" > = < / span > < span class = "hl-3" > new< / span > < span class = "hl-1" > < / span > < span class = "hl-0" > UndirectedGraph< / span > < span class = "hl-1" > ();< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addVertex< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' A' < / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addVertex< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' B' < / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addVertex< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' C' < / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addVertex< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' D' < / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > removeVertex< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' C' < / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addEdge< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' A' < / span > < span class = "hl-1" > , < / span > < span class = "hl-2" > ' B' < / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > addEdge< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' B' < / span > < span class = "hl-1" > , < / span > < span class = "hl-2" > ' D' < / span > < span class = "hl-1" > );< / span > < br / > < br / > < span class = "hl-3" > const< / span > < span class = "hl-1" > < / span > < span class = "hl-9" > dijkstraResult< / span > < span class = "hl-1" > = < / span > < span class = "hl-10" > graph< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > dijkstra< / span > < span class = "hl-1" > (< / span > < span class = "hl-2" > ' A' < / span > < span class = "hl-1" > );< / span > < br / > < span class = "hl-10" > Array< / span > < span class = "hl-1" > .< / span > < span class = "hl-0" > from< / span > < span class = "hl-1" > (< / span > < span class = "hl-10" > dijkstraResult< / span > < span class = "hl-1" > ?.< / span > < span class = "hl-10" > seen< / span > < span class = "hl-1" > ?? []).< / span > < span class = "hl-0" > map< / span > < span class = "hl-1" > (< / span > < span class = "hl-10" > vertex< / span > < span class = "hl-1" > < / span > < span class = "hl-3" > => < / span > < span class = "hl-1" > < / span > < span class = "hl-10" > vertex< / span > < span class = "hl-1" > .< / span > < span class = "hl-10" > id< / span > < span class = "hl-1" > ) < / span > < span class = "hl-13" > // [' A' , ' B' , ' D' ]< / span >
2023-09-21 06:40:39 +00:00
< / code > < button > Copy< / button > < / pre >
< a id = "md:data-structures" class = "tsd-anchor" > < / a > < h2 > < a href = "#md:data-structures" > Data Structures< / a > < / h2 > < table >
< thead >
< tr >
< th > Data Structure< / th >
< th > Unit Test< / th >
< th > Performance Test< / th >
< th > API Documentation< / th >
< th > Implemented< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td > Binary Tree< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/BinaryTree.html" > < span > Binary Tree< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Binary Search Tree (BST)< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/BST.html" > < span > BST< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > AVL Tree< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/AVLTree.html" > < span > AVLTree< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Tree Multiset< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/TreeMultiset.html" > < span > TreeMultiset< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Segment Tree< / td >
< td > < / td >
< td > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/SegmentTree.html" > < span > SegmentTree< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Binary Indexed Tree< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/BinaryIndexedTree.html" > < span > BinaryIndexedTree< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Graph< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/AbstractGraph.html" > < span > AbstractGraph< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Directed Graph< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/DirectedGraph.html" > < span > DirectedGraph< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Undirected Graph< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/UndirectedGraph.html" > < span > UndirectedGraph< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Linked List< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/SinglyLinkedList.html" > < span > SinglyLinkedList< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Singly Linked List< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/SinglyLinkedList.html" > < span > SinglyLinkedList< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Doubly Linked List< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/DoublyLinkedList.html" > < span > DoublyLinkedList< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Queue< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/Queue.html" > < span > Queue< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Object Deque< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/ObjectDeque.html" > < span > ObjectDeque< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Array Deque< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/ArrayDeque.html" > < span > ArrayDeque< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Stack< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/Stack.html" > < span > Stack< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Coordinate Set< / td >
< td > < / td >
< td > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/CoordinateSet.html" > < span > CoordinateSet< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Coordinate Map< / td >
< td > < / td >
< td > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/CoordinateMap.html" > < span > CoordinateMap< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Heap< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/Heap.html" > < span > Heap< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Priority Queue< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/PriorityQueue.html" > < span > PriorityQueue< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Max Priority Queue< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/MaxPriorityQueue.html" > < span > MaxPriorityQueue< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Min Priority Queue< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/MinPriorityQueue.html" > < span > MinPriorityQueue< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< tr >
< td > Trie< / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< td > < / td >
< td > < a href = "https://data-structure-typed-docs.vercel.app/classes/Trie.html" > < span > Trie< / span > < / a > < / td >
< td > < img src = "https://raw.githubusercontent.com/zrwusa/assets/master/images/data-structure-typed/assets/tick.svg" alt = "" > < / td >
< / tr >
< / tbody >
< / table >
2023-09-26 11:43:45 +00:00
< a id = "md:standard-library-data-structure-comparison" class = "tsd-anchor" > < / a > < h3 > < a href = "#md:standard-library-data-structure-comparison" > Standard library data structure comparison< / a > < / h3 > < table >
< thead >
< tr >
< th > Data Structure< / th >
< th > C++ std< / th >
< th > Data Structure Typed< / th >
< th > java.util< / th >
< th > Python collections< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td > Dynamic Array< / td >
< td > std::vector< T> < / td >
< td > Array< E> < / td >
< td > ArrayList< E> < / td >
< td > list< / td >
< / tr >
< tr >
< td > Linked List< / td >
< td > std::list< T> < / td >
< td > DoublyLinkedList< E> < / td >
< td > LinkedList< E> < / td >
< td > deque< / td >
< / tr >
< tr >
< td > Set< / td >
< td > std::set< T> < / td >
< td > Set< / td >
< td > HashSet< E> < / td >
< td > set< / td >
< / tr >
< tr >
< td > Map< / td >
< td > std::map< K, V> < / td >
< td > Map< / td >
< td > HashMap< K, V> < / td >
< td > dict< / td >
< / tr >
< tr >
< td > Unordered Map< / td >
< td > std::unordered_map< K, V> < / td >
< td > N/A< / td >
< td > HashMap< K, V> < / td >
< td > defaultdict< / td >
< / tr >
< tr >
< td > Unordered Set< / td >
< td > std::unordered_set< T> < / td >
< td > N/A< / td >
< td > HashSet< E> < / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Queue< / td >
< td > std::queue< T> < / td >
< td > Queue< / td >
< td > Queue< E> < / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Priority Queue< / td >
< td > std::priority_queue< T> < / td >
< td > PriorityQueue< / td >
< td > PriorityQueue< E> < / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Stack< / td >
< td > std::stack< T> < / td >
< td > Stack< / td >
< td > Stack< E> < / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Bitset< / td >
< td > std::bitset< N> < / td >
< td > N/A< / td >
< td > N/A< / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Deque< / td >
< td > std::deque< T> < / td >
< td > Deque< / td >
< td > N/A< / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Multiset< / td >
< td > std::multiset< T> < / td >
< td > N/A< / td >
< td > N/A< / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Multimap< / td >
< td > std::multimap< K, V> < / td >
< td > N/A< / td >
< td > N/A< / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Unordered Multiset< / td >
< td > std::unordered_multiset< / td >
< td > N/A< / td >
< td > Counter< / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Ordered Dictionary< / td >
< td > N/A< / td >
< td > Map< / td >
< td > N/A< / td >
< td > OrderedDict< / td >
< / tr >
< tr >
< td > Double-Ended Queue (Deque)< / td >
< td > std::deque< T> < / td >
< td > Deque< / td >
< td > N/A< / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Linked Hash Set< / td >
< td > N/A< / td >
< td > N/A< / td >
< td > LinkedHashSet< E> < / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Linked Hash Map< / td >
< td > N/A< / td >
< td > N/A< / td >
< td > LinkedHashMap< K, V> < / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Sorted Set< / td >
< td > N/A< / td >
< td > AVLTree, RBTree< / td >
< td > TreeSet< E> < / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Sorted Map< / td >
< td > N/A< / td >
< td > AVLTree, RBTree< / td >
< td > TreeMap< K, V> < / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Tree Set< / td >
< td > std::set< / td >
< td > AVLTree, RBTree< / td >
< td > TreeSet< E> < / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Persistent Collections< / td >
< td > N/A< / td >
< td > N/A< / td >
< td > N/A< / td >
< td > N/A< / td >
< / tr >
< tr >
< td > unordered multiset< / td >
< td > unordered multiset< T> < / td >
< td > N/A< / td >
< td > N/A< / td >
< td > N/A< / td >
< / tr >
< tr >
< td > Unordered Multimap< / td >
< td > std::unordered_multimap< K, V> < / td >
< td > N/A< / td >
< td > N/A< / td >
< td > N/A< / td >
< / tr >
< / tbody >
< / table >
2023-09-25 03:16:04 +00:00
< a id = "md:code-design" class = "tsd-anchor" > < / a > < h2 > < a href = "#md:code-design" > Code design< / a > < / h2 > < p > By strictly adhering to object-oriented design (BinaryTree -> BST -> AVLTree -> TreeMultiset), you can seamlessly
inherit the existing data structures to implement the customized ones you need. Object-oriented design stands as the
optimal approach to data structure design.< / p >
2023-09-21 06:40:39 +00:00
< a id = "md:complexities" class = "tsd-anchor" > < / a > < h2 > < a href = "#md:complexities" > Complexities< / a > < / h2 > < a id = "md:performance-of-big-o" class = "tsd-anchor" > < / a > < h3 > < a href = "#md:performance-of-big-o" > performance of Big O< / a > < / h3 > < table >
< thead >
< tr >
< th > Big O Notation< / th >
< th > Type< / th >
< th > Computations for 10 elements< / th >
< th > Computations for 100 elements< / th >
< th > Computations for 1000 elements< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td > < strong > O(1)< / strong > < / td >
< td > Constant< / td >
< td > 1< / td >
< td > 1< / td >
< td > 1< / td >
< / tr >
< tr >
< td > < strong > O(log N)< / strong > < / td >
< td > Logarithmic< / td >
< td > 3< / td >
< td > 6< / td >
< td > 9< / td >
< / tr >
< tr >
< td > < strong > O(N)< / strong > < / td >
< td > Linear< / td >
< td > 10< / td >
< td > 100< / td >
< td > 1000< / td >
< / tr >
< tr >
< td > < strong > O(N log N)< / strong > < / td >
< td > n log(n)< / td >
< td > 30< / td >
< td > 600< / td >
< td > 9000< / td >
< / tr >
< tr >
< td > < strong > O(N^2)< / strong > < / td >
< td > Quadratic< / td >
< td > 100< / td >
< td > 10000< / td >
< td > 1000000< / td >
< / tr >
< tr >
< td > < strong > O(2^N)< / strong > < / td >
< td > Exponential< / td >
< td > 1024< / td >
< td > 1.26e+29< / td >
< td > 1.07e+301< / td >
< / tr >
< tr >
< td > < strong > O(N!)< / strong > < / td >
< td > Factorial< / td >
< td > 3628800< / td >
< td > 9.3e+157< / td >
< td > 4.02e+2567< / td >
< / tr >
< / tbody >
< / table >
< a id = "md:data-structure-complexity" class = "tsd-anchor" > < / a > < h3 > < a href = "#md:data-structure-complexity" > Data Structure Complexity< / a > < / h3 > < table >
< thead >
< tr >
< th > Data Structure< / th >
< th > Access< / th >
< th > Search< / th >
< th > Insertion< / th >
< th > Deletion< / th >
< th > Comments< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td > < strong > Array< / strong > < / td >
< td > 1< / td >
< td > n< / td >
< td > n< / td >
< td > n< / td >
< td > < / td >
< / tr >
< tr >
< td > < strong > Stack< / strong > < / td >
< td > n< / td >
< td > n< / td >
< td > 1< / td >
< td > 1< / td >
< td > < / td >
< / tr >
< tr >
< td > < strong > Queue< / strong > < / td >
< td > n< / td >
< td > n< / td >
< td > 1< / td >
< td > 1< / td >
< td > < / td >
< / tr >
< tr >
< td > < strong > Linked List< / strong > < / td >
< td > n< / td >
< td > n< / td >
< td > 1< / td >
< td > n< / td >
< td > < / td >
< / tr >
< tr >
< td > < strong > Hash Table< / strong > < / td >
< td > -< / td >
< td > n< / td >
< td > n< / td >
< td > n< / td >
< td > In case of perfect hash function costs would be O(1)< / td >
< / tr >
< tr >
< td > < strong > Binary Search Tree< / strong > < / td >
< td > n< / td >
< td > n< / td >
< td > n< / td >
< td > n< / td >
< td > In case of balanced tree costs would be O(log(n))< / td >
< / tr >
< tr >
< td > < strong > B-Tree< / strong > < / td >
< td > log(n)< / td >
< td > log(n)< / td >
< td > log(n)< / td >
< td > log(n)< / td >
< td > < / td >
< / tr >
< tr >
< td > < strong > Red-Black Tree< / strong > < / td >
< td > log(n)< / td >
< td > log(n)< / td >
< td > log(n)< / td >
< td > log(n)< / td >
< td > < / td >
< / tr >
< tr >
< td > < strong > AVL Tree< / strong > < / td >
< td > log(n)< / td >
< td > log(n)< / td >
< td > log(n)< / td >
< td > log(n)< / td >
< td > < / td >
< / tr >
< tr >
< td > < strong > Bloom Filter< / strong > < / td >
< td > -< / td >
< td > 1< / td >
< td > 1< / td >
< td > -< / td >
< td > False positives are possible while searching< / td >
< / tr >
< / tbody >
< / table >
< a id = "md:sorting-complexity" class = "tsd-anchor" > < / a > < h3 > < a href = "#md:sorting-complexity" > Sorting Complexity< / a > < / h3 > < table >
< thead >
< tr >
< th > Name< / th >
< th > Best< / th >
< th > Average< / th >
< th > Worst< / th >
< th > Memory< / th >
< th > Stable< / th >
< th > Comments< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td > < strong > Bubble sort< / strong > < / td >
< td > n< / td >
< td > n< sup > 2< / sup > < / td >
< td > n< sup > 2< / sup > < / td >
< td > 1< / td >
< td > Yes< / td >
< td > < / td >
< / tr >
< tr >
< td > < strong > Insertion sort< / strong > < / td >
< td > n< / td >
< td > n< sup > 2< / sup > < / td >
< td > n< sup > 2< / sup > < / td >
< td > 1< / td >
< td > Yes< / td >
< td > < / td >
< / tr >
< tr >
< td > < strong > Selection sort< / strong > < / td >
< td > n< sup > 2< / sup > < / td >
< td > n< sup > 2< / sup > < / td >
< td > n< sup > 2< / sup > < / td >
< td > 1< / td >
< td > No< / td >
< td > < / td >
< / tr >
< tr >
< td > < strong > Heap sort< / strong > < / td >
< td > n log(n)< / td >
< td > n log(n)< / td >
< td > n log(n)< / td >
< td > 1< / td >
< td > No< / td >
< td > < / td >
< / tr >
< tr >
< td > < strong > Merge sort< / strong > < / td >
< td > n log(n)< / td >
< td > n log(n)< / td >
< td > n log(n)< / td >
< td > n< / td >
< td > Yes< / td >
< td > < / td >
< / tr >
< tr >
< td > < strong > Quick sort< / strong > < / td >
< td > n log(n)< / td >
< td > n log(n)< / td >
< td > n< sup > 2< / sup > < / td >
< td > log(n)< / td >
< td > No< / td >
< td > Quicksort is usually done in-place with O(log(n)) stack space< / td >
< / tr >
< tr >
< td > < strong > Shell sort< / strong > < / td >
< td > n log(n)< / td >
< td > depends on gap sequence< / td >
< td > n (log(n))< sup > 2< / sup > < / td >
< td > 1< / td >
< td > No< / td >
< td > < / td >
< / tr >
< tr >
< td > < strong > Counting sort< / strong > < / td >
< td > n + r< / td >
< td > n + r< / td >
< td > n + r< / td >
< td > n + r< / td >
< td > Yes< / td >
< td > r - biggest number in array< / td >
< / tr >
< tr >
< td > < strong > Radix sort< / strong > < / td >
< td > n * k< / td >
< td > n * k< / td >
< td > n * k< / td >
< td > n + k< / td >
< td > Yes< / td >
< td > k - length of longest key< / td >
< / tr >
< / tbody >
2023-09-26 11:43:45 +00:00
< / table > < / div > < / div >
2023-09-21 06:40:39 +00:00
< div class = "col-sidebar" >
< div class = "page-menu" >
< div class = "tsd-navigation settings" >
< details class = "tsd-index-accordion" > < summary class = "tsd-accordion-summary" >
< h3 > < svg width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" > < path d = "M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill = "var(--color-text)" id = "icon-chevronDown" > < / path > < / svg > Settings< / h3 > < / summary >
< div class = "tsd-accordion-details" >
< div class = "tsd-filter-visibility" >
< h4 class = "uppercase" > Member Visibility< / h4 > < form >
< ul id = "tsd-filter-options" >
< li class = "tsd-filter-item" > < label class = "tsd-filter-input" > < input type = "checkbox" id = "tsd-filter-protected" name = "protected" / > < svg width = "32" height = "32" viewBox = "0 0 32 32" aria-hidden = "true" > < rect class = "tsd-checkbox-background" width = "30" height = "30" x = "1" y = "1" rx = "6" fill = "none" > < / rect > < path class = "tsd-checkbox-checkmark" d = "M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke = "none" stroke-width = "3.5" stroke-linejoin = "round" fill = "none" > < / path > < / svg > < span > Protected< / span > < / label > < / li >
< li class = "tsd-filter-item" > < label class = "tsd-filter-input" > < input type = "checkbox" id = "tsd-filter-private" name = "private" / > < svg width = "32" height = "32" viewBox = "0 0 32 32" aria-hidden = "true" > < rect class = "tsd-checkbox-background" width = "30" height = "30" x = "1" y = "1" rx = "6" fill = "none" > < / rect > < path class = "tsd-checkbox-checkmark" d = "M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke = "none" stroke-width = "3.5" stroke-linejoin = "round" fill = "none" > < / path > < / svg > < span > Private< / span > < / label > < / li >
< li class = "tsd-filter-item" > < label class = "tsd-filter-input" > < input type = "checkbox" id = "tsd-filter-inherited" name = "inherited" checked / > < svg width = "32" height = "32" viewBox = "0 0 32 32" aria-hidden = "true" > < rect class = "tsd-checkbox-background" width = "30" height = "30" x = "1" y = "1" rx = "6" fill = "none" > < / rect > < path class = "tsd-checkbox-checkmark" d = "M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke = "none" stroke-width = "3.5" stroke-linejoin = "round" fill = "none" > < / path > < / svg > < span > Inherited< / span > < / label > < / li >
< li class = "tsd-filter-item" > < label class = "tsd-filter-input" > < input type = "checkbox" id = "tsd-filter-external" name = "external" / > < svg width = "32" height = "32" viewBox = "0 0 32 32" aria-hidden = "true" > < rect class = "tsd-checkbox-background" width = "30" height = "30" x = "1" y = "1" rx = "6" fill = "none" > < / rect > < path class = "tsd-checkbox-checkmark" d = "M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke = "none" stroke-width = "3.5" stroke-linejoin = "round" fill = "none" > < / path > < / svg > < span > External< / span > < / label > < / li > < / ul > < / form > < / div >
< div class = "tsd-theme-toggle" >
< h4 class = "uppercase" > Theme< / h4 > < select id = "tsd-theme" > < option value = "os" > OS< / option > < option value = "light" > Light< / option > < option value = "dark" > Dark< / option > < / select > < / div > < / div > < / details > < / div >
< details open class = "tsd-index-accordion tsd-page-navigation" > < summary class = "tsd-accordion-summary" >
< h3 > < svg width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" > < use href = "#icon-chevronDown" > < / use > < / svg > On This Page< / h3 > < / summary >
< div class = "tsd-accordion-details" >
< ul >
< li >
< ul >
2023-09-24 13:31:09 +00:00
< li > < a href = "#md:data-structure-typed" > < span > Data < wbr / > Structure < wbr / > Typed< / span > < / a > < / li >
2023-09-21 06:40:39 +00:00
< li >
< ul >
2023-09-22 03:20:33 +00:00
< li > < a href = "#md:built-in-classic-algorithms" > < span > Built-< wbr / > in classic algorithms< / span > < / a > < / li >
2023-09-24 13:31:09 +00:00
< li > < a href = "#md:installation-and-usage" > < span > Installation and < wbr / > Usage< / span > < / a > < / li >
2023-09-21 06:40:39 +00:00
< li >
< ul >
< li > < a href = "#md:npm" > < span > npm< / span > < / a > < / li >
< li > < a href = "#md:yarn" > < span > yarn< / span > < / a > < / li >
< li > < a href = "#md:cdn" > < span > CDN< / span > < / a > < / li > < / ul > < / li >
< li > < a href = "#md:api-docs-amp-examples" > < span > API docs & < wbr / > Examples< / span > < / a > < / li >
< li > < a href = "#md:code-snippet" > < span > Code < wbr / > Snippet< / span > < / a > < / li >
< li >
< ul >
< li > < a href = "#md:binary-search-tree-bst-snippet" > < span > Binary < wbr / > Search < wbr / > Tree (BST) snippet< / span > < / a > < / li >
< li >
< ul >
< li > < a href = "#md:ts" > < span > TS< / span > < / a > < / li >
< li > < a href = "#md:js" > < span > JS< / span > < / a > < / li > < / ul > < / li >
2023-09-21 16:53:34 +00:00
< li > < a href = "#md:avltree-snippet" > < span > AVLTree snippet< / span > < / a > < / li >
< li >
< ul >
< li > < a href = "#md:ts-1" > < span > TS< / span > < / a > < / li >
< li > < a href = "#md:js-1" > < span > JS< / span > < / a > < / li > < / ul > < / li >
2023-09-21 06:40:39 +00:00
< li > < a href = "#md:directed-graph-simple-snippet" > < span > Directed < wbr / > Graph simple snippet< / span > < / a > < / li >
< li >
< ul >
< li > < a href = "#md:ts-or-js" > < span > TS or JS< / span > < / a > < / li > < / ul > < / li >
< li > < a href = "#md:undirected-graph-snippet" > < span > Undirected < wbr / > Graph snippet< / span > < / a > < / li >
< li >
< ul >
< li > < a href = "#md:ts-or-js-1" > < span > TS or JS< / span > < / a > < / li > < / ul > < / li > < / ul > < / li >
2023-09-22 03:20:33 +00:00
< li > < a href = "#md:data-structures" > < span > Data < wbr / > Structures< / span > < / a > < / li >
2023-09-26 11:43:45 +00:00
< li >
< ul >
< li > < a href = "#md:standard-library-data-structure-comparison" > < span > Standard library data structure comparison< / span > < / a > < / li > < / ul > < / li >
2023-09-21 06:40:39 +00:00
< li > < a href = "#md:code-design" > < span > Code design< / span > < / a > < / li >
< li > < a href = "#md:complexities" > < span > Complexities< / span > < / a > < / li >
< li >
< ul >
< li > < a href = "#md:performance-of-big-o" > < span > performance of < wbr / > Big O< / span > < / a > < / li >
< li > < a href = "#md:data-structure-complexity" > < span > Data < wbr / > Structure < wbr / > Complexity< / span > < / a > < / li >
< li > < a href = "#md:sorting-complexity" > < span > Sorting < wbr / > Complexity< / span > < / a > < / li > < / ul > < / li > < / ul > < / li > < / ul > < / li > < / ul > < / div > < / details > < / div >
< div class = "site-menu" >
< nav class = "tsd-navigation" > < a href = "modules.html" class = "current" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < g id = "icon-4" > < rect fill = "var(--color-icon-background)" stroke = "var(--color-ts-namespace)" stroke-width = "1.5" x = "1" y = "1" width = "22" height = "22" rx = "6" > < / rect > < path d = "M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill = "var(--color-text)" > < / path > < / g > < / svg > < span > data-< wbr / > structure-< wbr / > typed< / span > < / a >
< ul class = "tsd-small-nested-navigation" >
< li > < a href = "enums/CP.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < g id = "icon-8" > < rect fill = "var(--color-icon-background)" stroke = "var(--color-ts-enum)" stroke-width = "1.5" x = "1" y = "1" width = "22" height = "22" rx = "6" > < / rect > < path d = "M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill = "var(--color-text)" > < / path > < / g > < / svg > < span > CP< / span > < / a > < / li >
< li > < a href = "enums/FamilyPosition.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-8" > < / use > < / svg > < span > Family< wbr / > Position< / span > < / a > < / li >
< li > < a href = "enums/LoopType.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-8" > < / use > < / svg > < span > Loop< wbr / > Type< / span > < / a > < / li >
< li > < a href = "enums/RBColor.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-8" > < / use > < / svg > < span > RBColor< / span > < / a > < / li >
< li > < a href = "enums/TopologicalProperty.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-8" > < / use > < / svg > < span > Topological< wbr / > Property< / span > < / a > < / li >
< li > < a href = "classes/AVLTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < g id = "icon-128" > < rect fill = "var(--color-icon-background)" stroke = "var(--color-ts-class)" stroke-width = "1.5" x = "1" y = "1" width = "22" height = "22" rx = "6" > < / rect > < path d = "M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill = "var(--color-text)" > < / path > < / g > < / svg > < span > AVLTree< / span > < / a > < / li >
< li > < a href = "classes/AVLTreeNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > AVLTree< wbr / > Node< / span > < / a > < / li >
< li > < a href = "classes/AaTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Aa< wbr / > Tree< / span > < / a > < / li >
< li > < a href = "classes/AbstractBinaryTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Abstract< wbr / > Binary< wbr / > Tree< / span > < / a > < / li >
< li > < a href = "classes/AbstractBinaryTreeNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Abstract< wbr / > Binary< wbr / > Tree< wbr / > Node< / span > < / a > < / li >
< li > < a href = "classes/AbstractEdge.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Abstract< wbr / > Edge< / span > < / a > < / li >
< li > < a href = "classes/AbstractGraph.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Abstract< wbr / > Graph< / span > < / a > < / li >
< li > < a href = "classes/AbstractVertex.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Abstract< wbr / > Vertex< / span > < / a > < / li >
< li > < a href = "classes/ArrayDeque.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Array< wbr / > Deque< / span > < / a > < / li >
< li > < a href = "classes/BST.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > BST< / span > < / a > < / li >
< li > < a href = "classes/BSTNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > BSTNode< / span > < / a > < / li >
< li > < a href = "classes/BTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > BTree< / span > < / a > < / li >
< li > < a href = "classes/BinaryIndexedTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Binary< wbr / > Indexed< wbr / > Tree< / span > < / a > < / li >
< li > < a href = "classes/BinaryTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Binary< wbr / > Tree< / span > < / a > < / li >
< li > < a href = "classes/BinaryTreeNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Binary< wbr / > Tree< wbr / > Node< / span > < / a > < / li >
< li > < a href = "classes/Character.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Character< / span > < / a > < / li >
< li > < a href = "classes/CoordinateMap.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Coordinate< wbr / > Map< / span > < / a > < / li >
< li > < a href = "classes/CoordinateSet.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Coordinate< wbr / > Set< / span > < / a > < / li >
< li > < a href = "classes/Deque.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Deque< / span > < / a > < / li >
< li > < a href = "classes/DirectedEdge.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Directed< wbr / > Edge< / span > < / a > < / li >
< li > < a href = "classes/DirectedGraph.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Directed< wbr / > Graph< / span > < / a > < / li >
< li > < a href = "classes/DirectedVertex.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Directed< wbr / > Vertex< / span > < / a > < / li >
< li > < a href = "classes/DoublyLinkedList.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Doubly< wbr / > Linked< wbr / > List< / span > < / a > < / li >
< li > < a href = "classes/DoublyLinkedListNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Doubly< wbr / > Linked< wbr / > List< wbr / > Node< / span > < / a > < / li >
2023-09-25 09:18:14 +00:00
< li > < a href = "classes/HashNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Hash< wbr / > Node< / span > < / a > < / li >
2023-09-21 06:40:39 +00:00
< li > < a href = "classes/HashTable.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Hash< wbr / > Table< / span > < / a > < / li >
< li > < a href = "classes/Heap.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Heap< / span > < / a > < / li >
< li > < a href = "classes/HeapItem.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Heap< wbr / > Item< / span > < / a > < / li >
< li > < a href = "classes/LinkedListQueue.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Linked< wbr / > List< wbr / > Queue< / span > < / a > < / li >
< li > < a href = "classes/MapEdge.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Map< wbr / > Edge< / span > < / a > < / li >
< li > < a href = "classes/MapGraph.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Map< wbr / > Graph< / span > < / a > < / li >
< li > < a href = "classes/MapVertex.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Map< wbr / > Vertex< / span > < / a > < / li >
< li > < a href = "classes/Matrix2D.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Matrix2D< / span > < / a > < / li >
< li > < a href = "classes/MatrixNTI2D.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > MatrixNTI2D< / span > < / a > < / li >
< li > < a href = "classes/MaxHeap.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Max< wbr / > Heap< / span > < / a > < / li >
< li > < a href = "classes/MaxPriorityQueue.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Max< wbr / > Priority< wbr / > Queue< / span > < / a > < / li >
< li > < a href = "classes/MinHeap.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Min< wbr / > Heap< / span > < / a > < / li >
< li > < a href = "classes/MinPriorityQueue.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Min< wbr / > Priority< wbr / > Queue< / span > < / a > < / li >
< li > < a href = "classes/Navigator.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Navigator< / span > < / a > < / li >
< li > < a href = "classes/ObjectDeque.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Object< wbr / > Deque< / span > < / a > < / li >
< li > < a href = "classes/Pair.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Pair< / span > < / a > < / li >
< li > < a href = "classes/PriorityQueue.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Priority< wbr / > Queue< / span > < / a > < / li >
< li > < a href = "classes/Queue.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Queue< / span > < / a > < / li >
< li > < a href = "classes/RBTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > RBTree< / span > < / a > < / li >
< li > < a href = "classes/RBTreeNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > RBTree< wbr / > Node< / span > < / a > < / li >
< li > < a href = "classes/SegmentTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Segment< wbr / > Tree< / span > < / a > < / li >
< li > < a href = "classes/SegmentTreeNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Segment< wbr / > Tree< wbr / > Node< / span > < / a > < / li >
< li > < a href = "classes/SinglyLinkedList.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Singly< wbr / > Linked< wbr / > List< / span > < / a > < / li >
< li > < a href = "classes/SinglyLinkedListNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Singly< wbr / > Linked< wbr / > List< wbr / > Node< / span > < / a > < / li >
< li > < a href = "classes/SkipLinkedList.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Skip< wbr / > Linked< wbr / > List< / span > < / a > < / li >
< li > < a href = "classes/SplayTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Splay< wbr / > Tree< / span > < / a > < / li >
< li > < a href = "classes/Stack.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Stack< / span > < / a > < / li >
< li > < a href = "classes/TreeMap.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Tree< wbr / > Map< / span > < / a > < / li >
< li > < a href = "classes/TreeMultiset.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Tree< wbr / > Multiset< / span > < / a > < / li >
< li > < a href = "classes/TreeMultisetNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Tree< wbr / > Multiset< wbr / > Node< / span > < / a > < / li >
< li > < a href = "classes/TreeNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Tree< wbr / > Node< / span > < / a > < / li >
< li > < a href = "classes/TreeSet.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Tree< wbr / > Set< / span > < / a > < / li >
< li > < a href = "classes/Trie.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Trie< / span > < / a > < / li >
< li > < a href = "classes/TrieNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Trie< wbr / > Node< / span > < / a > < / li >
< li > < a href = "classes/TwoThreeTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Two< wbr / > Three< wbr / > Tree< / span > < / a > < / li >
< li > < a href = "classes/UndirectedEdge.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Undirected< wbr / > Edge< / span > < / a > < / li >
< li > < a href = "classes/UndirectedGraph.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Undirected< wbr / > Graph< / span > < / a > < / li >
< li > < a href = "classes/UndirectedVertex.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Undirected< wbr / > Vertex< / span > < / a > < / li >
< li > < a href = "classes/Vector2D.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-128" > < / use > < / svg > < span > Vector2D< / span > < / a > < / li >
< li > < a href = "interfaces/IAVLTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < g id = "icon-256" > < rect fill = "var(--color-icon-background)" stroke = "var(--color-ts-interface)" stroke-width = "1.5" x = "1" y = "1" width = "22" height = "22" rx = "6" > < / rect > < path d = "M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill = "var(--color-text)" > < / path > < / g > < / svg > < span > IAVLTree< / span > < / a > < / li >
< li > < a href = "interfaces/IAbstractBinaryTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-256" > < / use > < / svg > < span > IAbstract< wbr / > Binary< wbr / > Tree< / span > < / a > < / li >
< li > < a href = "interfaces/IAbstractBinaryTreeNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-256" > < / use > < / svg > < span > IAbstract< wbr / > Binary< wbr / > Tree< wbr / > Node< / span > < / a > < / li >
< li > < a href = "interfaces/IAbstractGraph.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-256" > < / use > < / svg > < span > IAbstract< wbr / > Graph< / span > < / a > < / li >
< li > < a href = "interfaces/IBST.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-256" > < / use > < / svg > < span > IBST< / span > < / a > < / li >
< li > < a href = "interfaces/IDirectedGraph.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-256" > < / use > < / svg > < span > IDirected< wbr / > Graph< / span > < / a > < / li >
< li > < a href = "interfaces/IRBTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-256" > < / use > < / svg > < span > IRBTree< / span > < / a > < / li >
< li > < a href = "interfaces/IUNDirectedGraph.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-256" > < / use > < / svg > < span > IUNDirected< wbr / > Graph< / span > < / a > < / li >
< li > < a href = "types/AVLTreeNodeNested.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < g id = "icon-4194304" > < rect fill = "var(--color-icon-background)" stroke = "var(--color-ts-type-alias)" stroke-width = "1.5" x = "1" y = "1" width = "22" height = "22" rx = "6" > < / rect > < path d = "M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill = "var(--color-text)" > < / path > < / g > < / svg > < span > AVLTree< wbr / > Node< wbr / > Nested< / span > < / a > < / li >
< li > < a href = "types/AVLTreeOptions.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > AVLTree< wbr / > Options< / span > < / a > < / li >
< li > < a href = "types/AbstractBinaryTreeNodeNested.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Abstract< wbr / > Binary< wbr / > Tree< wbr / > Node< wbr / > Nested< / span > < / a > < / li >
< li > < a href = "types/AbstractBinaryTreeNodeProperties.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Abstract< wbr / > Binary< wbr / > Tree< wbr / > Node< wbr / > Properties< / span > < / a > < / li >
< li > < a href = "types/AbstractBinaryTreeNodeProperty.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Abstract< wbr / > Binary< wbr / > Tree< wbr / > Node< wbr / > Property< / span > < / a > < / li >
< li > < a href = "types/AbstractBinaryTreeOptions.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Abstract< wbr / > Binary< wbr / > Tree< wbr / > Options< / span > < / a > < / li >
< li > < a href = "types/BSTComparator.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > BSTComparator< / span > < / a > < / li >
< li > < a href = "types/BSTNodeNested.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > BSTNode< wbr / > Nested< / span > < / a > < / li >
< li > < a href = "types/BSTOptions.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > BSTOptions< / span > < / a > < / li >
< li > < a href = "types/BinaryTreeDeletedResult.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Binary< wbr / > Tree< wbr / > Deleted< wbr / > Result< / span > < / a > < / li >
< li > < a href = "types/BinaryTreeNodeId.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Binary< wbr / > Tree< wbr / > Node< wbr / > Id< / span > < / a > < / li >
< li > < a href = "types/BinaryTreeNodeNested.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Binary< wbr / > Tree< wbr / > Node< wbr / > Nested< / span > < / a > < / li >
< li > < a href = "types/BinaryTreeNodePropertyName.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Binary< wbr / > Tree< wbr / > Node< wbr / > Property< wbr / > Name< / span > < / a > < / li >
< li > < a href = "types/BinaryTreeOptions.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Binary< wbr / > Tree< wbr / > Options< / span > < / a > < / li >
< li > < a href = "types/DFSOrderPattern.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > DFSOrder< wbr / > Pattern< / span > < / a > < / li >
< li > < a href = "types/DijkstraResult.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Dijkstra< wbr / > Result< / span > < / a > < / li >
< li > < a href = "types/Direction.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Direction< / span > < / a > < / li >
< li > < a href = "types/DummyAny.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Dummy< wbr / > Any< / span > < / a > < / li >
< li > < a href = "types/EdgeId.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Edge< wbr / > Id< / span > < / a > < / li >
< li > < a href = "types/HeapOptions.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Heap< wbr / > Options< / span > < / a > < / li >
2023-09-21 16:53:34 +00:00
< li > < a href = "types/IAVLTreeNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > IAVLTree< wbr / > Node< / span > < / a > < / li >
< li > < a href = "types/IBSTNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > IBSTNode< / span > < / a > < / li >
< li > < a href = "types/IBinaryTree.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > IBinary< wbr / > Tree< / span > < / a > < / li >
< li > < a href = "types/IBinaryTreeNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > IBinary< wbr / > Tree< wbr / > Node< / span > < / a > < / li >
< li > < a href = "types/IRBTreeNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > IRBTree< wbr / > Node< / span > < / a > < / li >
< li > < a href = "types/ITreeMultiset.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > ITree< wbr / > Multiset< / span > < / a > < / li >
< li > < a href = "types/ITreeMultisetNode.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > ITree< wbr / > Multiset< wbr / > Node< / span > < / a > < / li >
2023-09-21 06:40:39 +00:00
< li > < a href = "types/KeyValueObject.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Key< wbr / > Value< wbr / > Object< / span > < / a > < / li >
< li > < a href = "types/KeyValueObjectWithId.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Key< wbr / > Value< wbr / > Object< wbr / > With< wbr / > Id< / span > < / a > < / li >
< li > < a href = "types/MapGraphCoordinate.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Map< wbr / > Graph< wbr / > Coordinate< / span > < / a > < / li >
< li > < a href = "types/NavigatorParams.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Navigator< wbr / > Params< / span > < / a > < / li >
< li > < a href = "types/NodeOrPropertyName.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Node< wbr / > Or< wbr / > Property< wbr / > Name< / span > < / a > < / li >
< li > < a href = "types/NonNumberNonObjectButDefined.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Non< wbr / > Number< wbr / > Non< wbr / > Object< wbr / > But< wbr / > Defined< / span > < / a > < / li >
< li > < a href = "types/ObjectWithNonNumberId.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Object< wbr / > With< wbr / > Non< wbr / > Number< wbr / > Id< / span > < / a > < / li >
< li > < a href = "types/ObjectWithNumberId.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Object< wbr / > With< wbr / > Number< wbr / > Id< / span > < / a > < / li >
< li > < a href = "types/ObjectWithoutId.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Object< wbr / > Without< wbr / > Id< / span > < / a > < / li >
< li > < a href = "types/PriorityQueueComparator.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Priority< wbr / > Queue< wbr / > Comparator< / span > < / a > < / li >
< li > < a href = "types/PriorityQueueDFSOrderPattern.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Priority< wbr / > QueueDFSOrder< wbr / > Pattern< / span > < / a > < / li >
< li > < a href = "types/PriorityQueueOptions.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Priority< wbr / > Queue< wbr / > Options< / span > < / a > < / li >
< li > < a href = "types/RBTreeNodeNested.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > RBTree< wbr / > Node< wbr / > Nested< / span > < / a > < / li >
< li > < a href = "types/RBTreeOptions.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > RBTree< wbr / > Options< / span > < / a > < / li >
< li > < a href = "types/RestrictValById.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Restrict< wbr / > Val< wbr / > By< wbr / > Id< / span > < / a > < / li >
< li > < a href = "types/SegmentTreeNodeVal.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Segment< wbr / > Tree< wbr / > Node< wbr / > Val< / span > < / a > < / li >
< li > < a href = "types/SpecifyOptional.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Specify< wbr / > Optional< / span > < / a > < / li >
< li > < a href = "types/Thunk.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Thunk< / span > < / a > < / li >
< li > < a href = "types/ToThunkFn.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > To< wbr / > Thunk< wbr / > Fn< / span > < / a > < / li >
< li > < a href = "types/TopologicalStatus.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Topological< wbr / > Status< / span > < / a > < / li >
< li > < a href = "types/TreeMultisetNodeNested.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Tree< wbr / > Multiset< wbr / > Node< wbr / > Nested< / span > < / a > < / li >
< li > < a href = "types/TreeMultisetOptions.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Tree< wbr / > Multiset< wbr / > Options< / span > < / a > < / li >
< li > < a href = "types/TrlAsyncFn.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Trl< wbr / > Async< wbr / > Fn< / span > < / a > < / li >
< li > < a href = "types/TrlFn.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Trl< wbr / > Fn< / span > < / a > < / li >
< li > < a href = "types/Turning.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Turning< / span > < / a > < / li >
< li > < a href = "types/VertexId.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-4194304" > < / use > < / svg > < span > Vertex< wbr / > Id< / span > < / a > < / li >
< li > < a href = "variables/THUNK_SYMBOL.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < g id = "icon-32" > < rect fill = "var(--color-icon-background)" stroke = "var(--color-ts-variable)" stroke-width = "1.5" x = "1" y = "1" width = "22" height = "22" rx = "6" > < / rect > < path d = "M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill = "var(--color-text)" > < / path > < / g > < / svg > < span > THUNK_< wbr / > SYMBOL< / span > < / a > < / li >
< li > < a href = "functions/arrayRemove.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < g id = "icon-64" > < rect fill = "var(--color-icon-background)" stroke = "var(--color-ts-function)" stroke-width = "1.5" x = "1" y = "1" width = "22" height = "22" rx = "6" > < / rect > < path d = "M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill = "var(--color-text)" > < / path > < / g > < / svg > < span > array< wbr / > Remove< / span > < / a > < / li >
< li > < a href = "functions/isThunk.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-64" > < / use > < / svg > < span > is< wbr / > Thunk< / span > < / a > < / li >
< li > < a href = "functions/toThunk.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-64" > < / use > < / svg > < span > to< wbr / > Thunk< / span > < / a > < / li >
< li > < a href = "functions/trampoline.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-64" > < / use > < / svg > < span > trampoline< / span > < / a > < / li >
< li > < a href = "functions/trampolineAsync.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-64" > < / use > < / svg > < span > trampoline< wbr / > Async< / span > < / a > < / li >
< li > < a href = "functions/uuidV4.html" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" > < use href = "#icon-64" > < / use > < / svg > < span > uuid< wbr / > V4< / span > < / a > < / li > < / ul > < / nav > < / div > < / div > < / div >
< div class = "tsd-generator" >
< p > Generated using < a href = "https://typedoc.org/" target = "_blank" > TypeDoc< / a > < / p > < / div >
< div class = "overlay" > < / div > < / body > < / html >