-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.go
28 lines (26 loc) · 862 Bytes
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package main
import algo "dsa/algorithms"
func main() {
//algo.BenchmarkSortAlgorithms()
// listData := []ds.NodeData{96, 12, 59}
// ds.TestDoublyLinkedList(listData)
//testItems := []datastructures.DequeValue{46, 74}
//datastructures.TestDeque(testItems)
// testData := []datastructures.ArrayListData{19, 26, 47}
// datastructures.TestHashTable()
// var search []int
// var insert []int
// remove := []int{20}
// binary.TestBST([]int{40, 20, 50, 10, 30, 60}, search, insert, remove)
//inputs := map[string][]int{
// "init-unsorted-array": {51, 26, 22, 34, 56, 30, 42},
//}
// keys := []int{22, 51, 98, 34, 85, 23, 13}
// avl.TestAVL(keys, insert)
// red_black.TestRedBlackTree(keys, insert)
//for key, arr := range inputs {
// fmt.Printf("%s:\n", key)
// maxheap.TestMaxHeap(arr, []int{}, false, true)
//}
algo.TestDijkstraAlgorithm()
}