Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions DataStructures/Graphs/BellmanFord.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package DataStructures.Graphs;

import java.util.*;
class BellmanFord
/*Implementation of Bellman ford to detect negative cycles. Graph accepts inputs in form of edges which have
Expand Down
2 changes: 1 addition & 1 deletion DataStructures/Queues/LinkedQueue.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package DataStructures;
package DataStructures.Queues;

import java.util.NoSuchElementException;

Expand Down
1 change: 1 addition & 0 deletions DataStructures/Stacks/NodeStack.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package DataStructures.Stacks;
/**
* Implementation of a stack using nodes.
* Unlimited size, no arraylist.
Expand Down
2 changes: 2 additions & 0 deletions DataStructures/Stacks/StackArray.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package DataStructures.Stacks;

/**
* This class implements a Stack using a regular array.
* <p>
Expand Down
2 changes: 2 additions & 0 deletions DataStructures/Stacks/StackArrayList.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package DataStructures.Stacks;

import java.util.ArrayList;

/**
Expand Down
2 changes: 2 additions & 0 deletions DataStructures/Stacks/StackOfLinkedList.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package DataStructures.Stacks;

import java.util.NoSuchElementException;

/**
* @author Varun Upadhyay (https://github.com/varunu28)
*/
Expand Down
2 changes: 1 addition & 1 deletion Maths/Pow.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package maths;
package Maths;

//POWER (exponentials) Examples (a^b)
public class Pow {
Expand Down