Skip to content

Commit

Permalink
Removed unused usings (aalhour#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
CloneDeath authored and aalhour committed Feb 7, 2018
1 parent 7d41054 commit dc5b4d4
Show file tree
Hide file tree
Showing 55 changed files with 19 additions and 149 deletions.
4 changes: 1 addition & 3 deletions Algorithms/Common/Helpers.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;

using System.Collections.Generic;
using DataStructures.Lists;

namespace Algorithms.Common
Expand Down
2 changes: 0 additions & 2 deletions Algorithms/Graphs/BellmanFordShortestPaths.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using System;
using System.Diagnostics;
using System.Collections.Generic;

using Algorithms.Common;
using DataStructures.Graphs;
using DataStructures.Heaps;

namespace Algorithms.Graphs
{
Expand Down
4 changes: 0 additions & 4 deletions Algorithms/Graphs/CyclesDetector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
*/

using System;
using System.Diagnostics;
using System.Collections.Generic;

using Algorithms.Common;
using DataStructures.Graphs;
using DataStructures.Lists;


namespace Algorithms.Graphs
{
Expand Down
4 changes: 0 additions & 4 deletions Algorithms/Graphs/DijkstraAllPairsShortestPaths.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
*/

using System;
using System.Diagnostics;
using System.Collections.Generic;

using Algorithms.Common;
using DataStructures.Graphs;
using DataStructures.Heaps;

namespace Algorithms.Graphs
{
Expand Down
4 changes: 0 additions & 4 deletions Algorithms/Graphs/TopologicalSorter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
*/

using System;
using System.Diagnostics;
using System.Collections.Generic;

using Algorithms.Common;
using DataStructures.Graphs;
using DataStructures.Lists;

namespace Algorithms.Graphs
{
Expand Down
1 change: 0 additions & 1 deletion Algorithms/Numeric/BinomialCoefficients.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;

namespace Algorithms.Numeric
{
Expand Down
4 changes: 1 addition & 3 deletions Algorithms/Sorting/HeapSorter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;

using System.Collections.Generic;
using Algorithms.Common;

namespace Algorithms.Sorting
Expand Down
4 changes: 1 addition & 3 deletions Algorithms/Sorting/InsertionSorter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;

using System.Collections.Generic;
using DataStructures.Lists;

namespace Algorithms.Sorting
Expand Down
2 changes: 0 additions & 2 deletions Algorithms/Sorting/LSDRadixSorter.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;

using Algorithms.Common;

namespace Algorithms.Sorting
{
/// <summary>
Expand Down
4 changes: 1 addition & 3 deletions Algorithms/Sorting/MergeSorter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;

using System.Collections.Generic;
using Algorithms.Common;

namespace Algorithms.Sorting
Expand Down
4 changes: 1 addition & 3 deletions Algorithms/Sorting/QuickSorter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;

using System.Collections.Generic;
using Algorithms.Common;

namespace Algorithms.Sorting
Expand Down
2 changes: 0 additions & 2 deletions Algorithms/Strings/EditDistance.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Text;
using Algorithms.Common;

namespace Algorithms.Strings
{
Expand Down
2 changes: 0 additions & 2 deletions Algorithms/Strings/Permutations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
using System;
using System.Collections.Generic;

using Algorithms.Sorting;

namespace Algorithms.Strings
{
public static class Permutations
Expand Down
7 changes: 1 addition & 6 deletions Algorithms/Trees/BinaryTreeIterativeWalker.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using DataStructures.Trees;
using Algorithms.Common;

namespace Algorithms.Trees
namespace Algorithms.Trees
{
/// <summary>
/// Simple Iterative Tree Traversal and Search Algorithms.
Expand Down
2 changes: 0 additions & 2 deletions DataStructures/Common/Comparers.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using DataStructures.Lists;
using DataStructures.Trees;

namespace DataStructures.Common
Expand Down
2 changes: 0 additions & 2 deletions DataStructures/Common/Helpers.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Text;
using System.Collections.Generic;

using DataStructures.Lists;

namespace DataStructures.Common
Expand Down
1 change: 0 additions & 1 deletion DataStructures/Common/PrimesList.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
Expand Down
4 changes: 0 additions & 4 deletions DataStructures/Dictionaries/OpenAddressingHashTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
using System.Collections.Generic;
using System.Text;

using DataStructures.Common;
using DataStructures.Hashing;
using System.Threading.Tasks;

namespace DataStructures.Dictionaries
{
/// <summary>
Expand Down
2 changes: 0 additions & 2 deletions DataStructures/Dictionaries/OpenScatterHashTable.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;

using DataStructures.Common;
using DataStructures.Lists;

namespace DataStructures.Dictionaries
{
Expand Down
1 change: 0 additions & 1 deletion DataStructures/Graphs/CliqueGraph.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using DataStructures.Graphs;
using DataStructures.Lists;

namespace DataStructures.Graphs
Expand Down
2 changes: 0 additions & 2 deletions DataStructures/Graphs/DirectedWeightedSparseGraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
*/

using System;
using System.Diagnostics;
using System.Collections.Generic;

using DataStructures.Common;
using DataStructures.Lists;

Expand Down
2 changes: 0 additions & 2 deletions DataStructures/Graphs/UndirectedWeightedSparseGraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
*/

using System;
using System.Diagnostics;
using System.Collections.Generic;

using DataStructures.Common;
using DataStructures.Lists;

Expand Down
3 changes: 0 additions & 3 deletions DataStructures/Hashing/PrimeHashingFamily.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
*/

using System;

using DataStructures.Common;
using DataStructures.Lists;
using DataStructures.Hashing;

namespace DataStructures.Hashing
{
Expand Down
3 changes: 0 additions & 3 deletions DataStructures/Hashing/UniversalHashingFamily.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
*/

using System;

using DataStructures.Common;
using DataStructures.Lists;
using DataStructures.Hashing;

namespace DataStructures.Hashing
{
Expand Down
2 changes: 0 additions & 2 deletions DataStructures/Lists/SkipList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

using System;
using System.Collections.Generic;

using DataStructures.Lists;
using DataStructures.Common;

namespace DataStructures.Lists
Expand Down
2 changes: 0 additions & 2 deletions DataStructures/Trees/AVLTree.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;

using DataStructures;

namespace DataStructures.Trees
{
/// <summary>
Expand Down
3 changes: 0 additions & 3 deletions DataStructures/Trees/AugmentedBinarySearchTree.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using System;
using System.Collections;
using System.Collections.Generic;

using DataStructures.Common;

namespace DataStructures.Trees
{
/// <summary>
Expand Down
2 changes: 0 additions & 2 deletions DataStructures/Trees/TreeDrawer.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DataStructures.Common;

namespace DataStructures.Trees
Expand Down
2 changes: 0 additions & 2 deletions DataStructures/Trees/TrieMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
using System.Collections;
using System.Collections.Generic;

using DataStructures.Common;

namespace DataStructures.Trees
{
/// <summary>
Expand Down
3 changes: 0 additions & 3 deletions DataStructures/Trees/TrieNode.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataStructures.Trees
{
Expand Down
1 change: 0 additions & 1 deletion UnitTest/AlgorithmsTests/BinarySearchTreeSorterTest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Algorithms.Sorting;
using System;
using System.Collections.Generic;
using Xunit;
using System.Linq;
Expand Down
1 change: 0 additions & 1 deletion UnitTest/AlgorithmsTests/BinaryTreeRecursiveWalkerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using DataStructures.Trees;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;

namespace UnitTest
Expand Down
2 changes: 0 additions & 2 deletions UnitTest/AlgorithmsTests/CatalanNumbersTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using Algorithms.Numeric;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;

namespace UnitTest.AlgorithmsTests
Expand Down
5 changes: 1 addition & 4 deletions UnitTest/AlgorithmsTests/CountingSortTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Diagnostics;

using Algorithms.Sorting;
using Algorithms.Sorting;
using Xunit;
using System.Linq;

Expand Down
2 changes: 0 additions & 2 deletions UnitTest/AlgorithmsTests/GraphsBellmanFordShortestPaths.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using System;
using System.Diagnostics;
using System.Collections.Generic;

using Algorithms.Graphs;
using DataStructures.Graphs;
using DataStructures.Lists;
using Xunit;

namespace UnitTest.AlgorithmsTests
Expand Down
4 changes: 1 addition & 3 deletions UnitTest/AlgorithmsTests/GraphsBipartiteColoringTest.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Diagnostics;

using System.Diagnostics;
using Algorithms.Graphs;
using DataStructures.Graphs;
using Xunit;
Expand Down
2 changes: 0 additions & 2 deletions UnitTest/AlgorithmsTests/GraphsBreadthFirstPathsTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Diagnostics;
using System.Collections.Generic;

using DataStructures.Graphs;
using Algorithms.Graphs;

Expand Down
5 changes: 1 addition & 4 deletions UnitTest/AlgorithmsTests/GraphsConnectedComponents.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Linq;
using System.Linq;
using System.Diagnostics;
using System.Collections.Generic;

using Algorithms.Graphs;
using DataStructures.Graphs;

Expand Down
4 changes: 0 additions & 4 deletions UnitTest/AlgorithmsTests/GraphsTopologicalSorterTest.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
using System;
using System.Diagnostics;
using System.Collections.Generic;

using Algorithms.Graphs;
using DataStructures.Graphs;
using DataStructures.Lists;

namespace UnitTest.AlgorithmsTests
{
Expand Down
5 changes: 1 addition & 4 deletions UnitTest/AlgorithmsTests/HeapSorterTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;

using DataStructures;
using System.Collections.Generic;
using Algorithms.Sorting;
using Xunit;

Expand Down
5 changes: 1 addition & 4 deletions UnitTest/AlgorithmsTests/InsertionSortTest.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using System;
using System.Collections.Generic;

using System.Collections.Generic;
using DataStructures.Lists;
using Algorithms.Sorting;
using Xunit;
using System.Linq;

namespace UnitTest.AlgorithmsTests
{
Expand Down
5 changes: 1 addition & 4 deletions UnitTest/AlgorithmsTests/StringEditDistanceTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Diagnostics;

using Algorithms.Strings;
using Algorithms.Strings;
using Xunit;

namespace UnitTest.AlgorithmsTests
Expand Down
5 changes: 1 addition & 4 deletions UnitTest/DataStructuresTests/AVLTreeTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Diagnostics;
using System.Collections.Generic;

using System.Collections.Generic;
using DataStructures.Trees;
using Xunit;

Expand Down
Loading

0 comments on commit dc5b4d4

Please sign in to comment.