Skip to content

Commit 98ff29d

Browse files
authored
Merge pull request TheAlgorithms#1216 from Hassan-Elseoudy/master
Fixing packages.
2 parents e919997 + 4f45c5a commit 98ff29d

File tree

7 files changed

+11
-2
lines changed

7 files changed

+11
-2
lines changed

DataStructures/Graphs/BellmanFord.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
package DataStructures.Graphs;
2+
13
import java.util.*;
24
class BellmanFord
35
/*Implementation of Bellman ford to detect negative cycles. Graph accepts inputs in form of edges which have

DataStructures/Queues/LinkedQueue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package DataStructures;
1+
package DataStructures.Queues;
22

33
import java.util.NoSuchElementException;
44

DataStructures/Stacks/NodeStack.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
package DataStructures.Stacks;
12
/**
23
* Implementation of a stack using nodes.
34
* Unlimited size, no arraylist.

DataStructures/Stacks/StackArray.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
package DataStructures.Stacks;
2+
13
/**
24
* This class implements a Stack using a regular array.
35
* <p>

DataStructures/Stacks/StackArrayList.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
package DataStructures.Stacks;
2+
13
import java.util.ArrayList;
24

35
/**

DataStructures/Stacks/StackOfLinkedList.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package DataStructures.Stacks;
22

3+
import java.util.NoSuchElementException;
4+
35
/**
46
* @author Varun Upadhyay (https://github.com/varunu28)
57
*/

Maths/Pow.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package maths;
1+
package Maths;
22

33
//POWER (exponentials) Examples (a^b)
44
public class Pow {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy