Skip to content

Commit dc5b4d4

Browse files
CloneDeathaalhour
authored andcommitted
Removed unused usings (#61)
1 parent 7d41054 commit dc5b4d4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+19
-149
lines changed

Algorithms/Common/Helpers.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
1+
using System.Collections.Generic;
42
using DataStructures.Lists;
53

64
namespace Algorithms.Common

Algorithms/Graphs/BellmanFordShortestPaths.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
using System;
22
using System.Diagnostics;
33
using System.Collections.Generic;
4-
54
using Algorithms.Common;
65
using DataStructures.Graphs;
7-
using DataStructures.Heaps;
86

97
namespace Algorithms.Graphs
108
{

Algorithms/Graphs/CyclesDetector.cs

-4
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@
33
*/
44

55
using System;
6-
using System.Diagnostics;
76
using System.Collections.Generic;
8-
97
using Algorithms.Common;
108
using DataStructures.Graphs;
11-
using DataStructures.Lists;
12-
139

1410
namespace Algorithms.Graphs
1511
{

Algorithms/Graphs/DijkstraAllPairsShortestPaths.cs

-4
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
*/
66

77
using System;
8-
using System.Diagnostics;
98
using System.Collections.Generic;
10-
11-
using Algorithms.Common;
129
using DataStructures.Graphs;
13-
using DataStructures.Heaps;
1410

1511
namespace Algorithms.Graphs
1612
{

Algorithms/Graphs/TopologicalSorter.cs

-4
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@
44
*/
55

66
using System;
7-
using System.Diagnostics;
87
using System.Collections.Generic;
9-
10-
using Algorithms.Common;
118
using DataStructures.Graphs;
12-
using DataStructures.Lists;
139

1410
namespace Algorithms.Graphs
1511
{

Algorithms/Numeric/BinomialCoefficients.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
32

43
namespace Algorithms.Numeric
54
{

Algorithms/Sorting/HeapSorter.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
1+
using System.Collections.Generic;
42
using Algorithms.Common;
53

64
namespace Algorithms.Sorting

Algorithms/Sorting/InsertionSorter.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
1+
using System.Collections.Generic;
42
using DataStructures.Lists;
53

64
namespace Algorithms.Sorting

Algorithms/Sorting/LSDRadixSorter.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33

4-
using Algorithms.Common;
5-
64
namespace Algorithms.Sorting
75
{
86
/// <summary>

Algorithms/Sorting/MergeSorter.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
1+
using System.Collections.Generic;
42
using Algorithms.Common;
53

64
namespace Algorithms.Sorting

Algorithms/Sorting/QuickSorter.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
1+
using System.Collections.Generic;
42
using Algorithms.Common;
53

64
namespace Algorithms.Sorting

Algorithms/Strings/EditDistance.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
using System.Text;
3-
using Algorithms.Common;
42

53
namespace Algorithms.Strings
64
{

Algorithms/Strings/Permutations.cs

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
using System;
66
using System.Collections.Generic;
77

8-
using Algorithms.Sorting;
9-
108
namespace Algorithms.Strings
119
{
1210
public static class Permutations

Algorithms/Trees/BinaryTreeIterativeWalker.cs

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using DataStructures.Trees;
4-
using Algorithms.Common;
5-
6-
namespace Algorithms.Trees
1+
namespace Algorithms.Trees
72
{
83
/// <summary>
94
/// Simple Iterative Tree Traversal and Search Algorithms.

DataStructures/Common/Comparers.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using System;
2-
3-
using DataStructures.Lists;
42
using DataStructures.Trees;
53

64
namespace DataStructures.Common

DataStructures/Common/Helpers.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using System;
2-
using System.Text;
32
using System.Collections.Generic;
4-
53
using DataStructures.Lists;
64

75
namespace DataStructures.Common

DataStructures/Common/PrimesList.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Linq;
3-
using System.Text;
43
using System.Collections.Generic;
54
using System.IO;
65
using System.Reflection;

DataStructures/Dictionaries/OpenAddressingHashTable.cs

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
using System.Collections.Generic;
33
using System.Text;
44

5-
using DataStructures.Common;
6-
using DataStructures.Hashing;
7-
using System.Threading.Tasks;
8-
95
namespace DataStructures.Dictionaries
106
{
117
/// <summary>

DataStructures/Dictionaries/OpenScatterHashTable.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using System;
22
using System.Collections.Generic;
3-
43
using DataStructures.Common;
5-
using DataStructures.Lists;
64

75
namespace DataStructures.Dictionaries
86
{

DataStructures/Graphs/CliqueGraph.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using DataStructures.Graphs;
43
using DataStructures.Lists;
54

65
namespace DataStructures.Graphs

DataStructures/Graphs/DirectedWeightedSparseGraph.cs

-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
*/
1313

1414
using System;
15-
using System.Diagnostics;
1615
using System.Collections.Generic;
17-
1816
using DataStructures.Common;
1917
using DataStructures.Lists;
2018

DataStructures/Graphs/UndirectedWeightedSparseGraph.cs

-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
*/
1212

1313
using System;
14-
using System.Diagnostics;
1514
using System.Collections.Generic;
16-
1715
using DataStructures.Common;
1816
using DataStructures.Lists;
1917

DataStructures/Hashing/PrimeHashingFamily.cs

-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
*/
88

99
using System;
10-
1110
using DataStructures.Common;
12-
using DataStructures.Lists;
13-
using DataStructures.Hashing;
1411

1512
namespace DataStructures.Hashing
1613
{

DataStructures/Hashing/UniversalHashingFamily.cs

-3
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99
*/
1010

1111
using System;
12-
1312
using DataStructures.Common;
14-
using DataStructures.Lists;
15-
using DataStructures.Hashing;
1613

1714
namespace DataStructures.Hashing
1815
{

DataStructures/Lists/SkipList.cs

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
using System;
1010
using System.Collections.Generic;
11-
12-
using DataStructures.Lists;
1311
using DataStructures.Common;
1412

1513
namespace DataStructures.Lists

DataStructures/Trees/AVLTree.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33

4-
using DataStructures;
5-
64
namespace DataStructures.Trees
75
{
86
/// <summary>

DataStructures/Trees/AugmentedBinarySearchTree.cs

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
using System;
2-
using System.Collections;
32
using System.Collections.Generic;
43

5-
using DataStructures.Common;
6-
74
namespace DataStructures.Trees
85
{
96
/// <summary>

DataStructures/Trees/TreeDrawer.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using System.Text;
5-
64
using DataStructures.Common;
75

86
namespace DataStructures.Trees

DataStructures/Trees/TrieMap.cs

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
using System.Collections;
1313
using System.Collections.Generic;
1414

15-
using DataStructures.Common;
16-
1715
namespace DataStructures.Trees
1816
{
1917
/// <summary>

DataStructures/Trees/TrieNode.cs

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
63

74
namespace DataStructures.Trees
85
{

UnitTest/AlgorithmsTests/BinarySearchTreeSorterTest.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Algorithms.Sorting;
2-
using System;
32
using System.Collections.Generic;
43
using Xunit;
54
using System.Linq;

UnitTest/AlgorithmsTests/BinaryTreeRecursiveWalkerTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using DataStructures.Trees;
33
using System;
44
using System.Collections.Generic;
5-
using System.Text;
65
using Xunit;
76

87
namespace UnitTest

UnitTest/AlgorithmsTests/CatalanNumbersTest.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using Algorithms.Numeric;
2-
using System;
32
using System.Collections.Generic;
4-
using System.Text;
53
using Xunit;
64

75
namespace UnitTest.AlgorithmsTests

UnitTest/AlgorithmsTests/CountingSortTest.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System;
2-
using System.Diagnostics;
3-
4-
using Algorithms.Sorting;
1+
using Algorithms.Sorting;
52
using Xunit;
63
using System.Linq;
74

UnitTest/AlgorithmsTests/GraphsBellmanFordShortestPaths.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
using System;
22
using System.Diagnostics;
33
using System.Collections.Generic;
4-
54
using Algorithms.Graphs;
65
using DataStructures.Graphs;
7-
using DataStructures.Lists;
86
using Xunit;
97

108
namespace UnitTest.AlgorithmsTests

UnitTest/AlgorithmsTests/GraphsBipartiteColoringTest.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
using System.Diagnostics;
3-
1+
using System.Diagnostics;
42
using Algorithms.Graphs;
53
using DataStructures.Graphs;
64
using Xunit;

UnitTest/AlgorithmsTests/GraphsBreadthFirstPathsTest.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using System;
2-
using System.Diagnostics;
32
using System.Collections.Generic;
4-
53
using DataStructures.Graphs;
64
using Algorithms.Graphs;
75

UnitTest/AlgorithmsTests/GraphsConnectedComponents.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
using System;
2-
using System.Linq;
1+
using System.Linq;
32
using System.Diagnostics;
4-
using System.Collections.Generic;
5-
63
using Algorithms.Graphs;
74
using DataStructures.Graphs;
85

UnitTest/AlgorithmsTests/GraphsTopologicalSorterTest.cs

-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
using System;
2-
using System.Diagnostics;
3-
using System.Collections.Generic;
4-
52
using Algorithms.Graphs;
63
using DataStructures.Graphs;
7-
using DataStructures.Lists;
84

95
namespace UnitTest.AlgorithmsTests
106
{

UnitTest/AlgorithmsTests/HeapSorterTest.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
4-
using DataStructures;
1+
using System.Collections.Generic;
52
using Algorithms.Sorting;
63
using Xunit;
74

UnitTest/AlgorithmsTests/InsertionSortTest.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
using System;
2-
using System.Collections.Generic;
3-
1+
using System.Collections.Generic;
42
using DataStructures.Lists;
53
using Algorithms.Sorting;
64
using Xunit;
7-
using System.Linq;
85

96
namespace UnitTest.AlgorithmsTests
107
{

UnitTest/AlgorithmsTests/StringEditDistanceTest.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System;
2-
using System.Diagnostics;
3-
4-
using Algorithms.Strings;
1+
using Algorithms.Strings;
52
using Xunit;
63

74
namespace UnitTest.AlgorithmsTests

UnitTest/DataStructuresTests/AVLTreeTest.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System;
2-
using System.Diagnostics;
3-
using System.Collections.Generic;
4-
1+
using System.Collections.Generic;
52
using DataStructures.Trees;
63
using Xunit;
74

0 commit comments

Comments
 (0)