-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
51 lines (45 loc) · 1.25 KB
/
main.cpp
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// main.cpp
// Algorithm
//
// Created by 李宁 on 2017/11/1.
// Copyright © 2017年 李宁. All rights reserved.
//
#include <iostream>
//#include "Graph/Graph.hpp"
#include "Graph/Dijkstra.h"
#include "Graph/Floyd.h"
#include "Graph/UnionFind.h"
#include "Sorting And Searching/HeapSort.h"
#include "Sorting And Searching/QuickSort.h"
#include "Sorting And Searching/BinarySearch.h"
#include "Sorting And Searching/BubbleSort.h"
#include "Tree/MinDepth.h"
#include "Tree/MaxPathSum.h"
#include "Tree/MaxPathSumLeaf2Root.h"
#include "Sorting And Searching/SearchInSortedAndRotatedArray.h"
#include "Sorting And Searching/InsertSort.h"
#include "Sorting And Searching/MergeSort.h"
using namespace std;
int main(int argc, char** argv)
{
cout << "Sorting And Searching" << endl;
// test_QuickSort();
// test_HeapSort();
// test_BinarySearch();
// test_BubbleSort();
// test_pivotedBinarySearch();
// test_InsertSort();
// test_MergeSort();
cout << "Graph" << endl;
// test_BFS();
// test_DFS();
// test_dijkstra();
// test_Floyd();
UnionFind::test_UnionFind();
cout << "Tree/Binary Search Tree" << endl;
// test_FindMinDepthOfBinaryTree();
// test_maxPathSum();
// test_maxPathSumLeaf2Root();
return 0;
}