Skip to content

Commit b78e2f8

Browse files
authored
Merge pull request #64 from csvistool/treemap
Treemap
2 parents 88523db + cd36a1d commit b78e2f8

File tree

4 files changed

+903
-0
lines changed

4 files changed

+903
-0
lines changed

public/algo_buttons/TreeMap.png

31.9 KB
Loading

src/AlgoList.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export const algoMap = {
5757
DisjointSet: ['Disjoint Set', algos.DisjointSet, true],
5858
LCS: ['LCS', algos.LCS, true, 'Longest Common Subsequence'],
5959
Floyd: ['Floyd-Warshall', algos.Floyd],
60+
TreeMap: ['TreeMap', algos.TreeMap]
6061
};
6162

6263
const aprilFoolsAlgos = ['LVA', 'NonLinearProbing'];
@@ -109,6 +110,7 @@ export const algoList = [
109110
'DP & Extras',
110111
'CreateGraph',
111112
'DisjointSet',
113+
"TreeMap",
112114
'SplayTree',
113115
'Floyd',
114116
'DropSort',
@@ -185,6 +187,7 @@ export const relatedSearches = {
185187
Kruskal: ['BFS', 'DFS', 'Dijkstra', 'Prim', 'DisjointSet'],
186188
LCS: ['Floyd'],
187189
Floyd: ['LCS'],
190+
TreeMap: ['AVL', 'ClosedHash', 'OpenHash'],
188191
};
189192

190193
export const algoFilter = [
@@ -344,6 +347,10 @@ export const algoFilter = [
344347
id: "DisjointSet",
345348
category: 'DP & Extras'
346349
},
350+
{
351+
id: 'TreeMap',
352+
category: 'DP & Extras',
353+
},
347354
{
348355
id: 'SplayTree',
349356
category: 'DP & Extras',

0 commit comments

Comments
 (0)