File tree 5 files changed +52
-1
lines changed
5 files changed +52
-1
lines changed Original file line number Diff line number Diff line change
1
+ # Semantic Versioning
2
+
3
+ This project is using semantic versioning which means that versions has tree numbers:
4
+
5
+ > Major.Minor.Patch, e.g. 1.3.7
6
+
7
+ and the meaning the the following:
8
+
9
+ - Major: breaking (remove functionality or change API)
10
+ - Minor: Features (new functionality, adding new topics)
11
+ - Patch: Fixes (bug fixes, typos, etc.)
12
+
1
13
# Roadmap
2
14
- [x] PDF: callouts and emojis are not showing correctly
3
15
- [x] Writeup on balancing trees
Original file line number Diff line number Diff line change 2
2
"name" : " dsa.js" ,
3
3
"version" : " 1.0.0" ,
4
4
"description" : " Data Structures & Algorithms in JS" ,
5
- "main" : " ./src/data-structures/graphs/graph .js" ,
5
+ "main" : " ./src/index .js" ,
6
6
"dependencies" : {
7
7
"lodash" : " 4.17.11"
8
8
},
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ // data structures
2
+ const LinkedList = require ( './data-structures/linked-lists/linked-list' ) ;
3
+ const Queue = require ( './data-structures/queues/queue' ) ;
4
+ const Stack = require ( './data-structures/stacks/stack' ) ;
5
+ const Graph = require ( './data-structures/graphs/graph' ) ;
6
+ const HashMap = require ( './data-structures/maps/hash-maps/hash-map' ) ;
7
+ const TreeMap = require ( './data-structures/maps/tree-maps/tree-map' ) ;
8
+ const HashSet = require ( './data-structures/sets/hash-set' ) ;
9
+ const TreeSet = require ( './data-structures/sets/tree-set' ) ;
10
+ const BinarySearchTree = require ( './data-structures/trees/binary-search-tree' ) ;
11
+ const AvlTree = require ( './data-structures/trees/avl-tree' ) ;
12
+ const RedBlackTree = require ( './data-structures/trees/red-black-tree' ) ;
13
+ const LRUCache = require ( './data-structures/custom/lru-cache' ) ;
14
+ // algorithms
15
+ const bubbleSort = require ( './algorithms/sorting/bubble-sort' ) ;
16
+ const insertionSort = require ( './algorithms/sorting/insertion-sort' ) ;
17
+ const selectionSort = require ( './algorithms/sorting/selection-sort' ) ;
18
+ const quickSort = require ( './algorithms/sorting/quick-sort' ) ;
19
+ const mergeSort = require ( './algorithms/sorting/merge-sort' ) ;
20
+
21
+ module . exports = {
22
+ LinkedList,
23
+ Queue,
24
+ Stack,
25
+ Graph,
26
+ HashMap,
27
+ TreeMap,
28
+ HashSet,
29
+ TreeSet,
30
+ BinarySearchTree,
31
+ AvlTree,
32
+ RedBlackTree,
33
+ LRUCache,
34
+ bubbleSort,
35
+ insertionSort,
36
+ selectionSort,
37
+ quickSort,
38
+ mergeSort,
39
+ } ;
You can’t perform that action at this time.
0 commit comments