File tree 2 files changed +6
-6
lines changed
main/java/com/thealgorithms/datastructures/queues
test/java/com/thealgorithms/datastructures/queues 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ private static class Node<T> {
18
18
}
19
19
}
20
20
21
- private Node <T > front ; // Front of the queue
22
- private Node <T > rear ; // Rear of the queue
23
- private int size ; // Size of the queue
21
+ private Node <T > front ; // Front of the queue
22
+ private Node <T > rear ; // Rear of the queue
23
+ private int size ; // Size of the queue
24
24
25
25
/**
26
26
* Initializes an empty LinkedQueue.
Original file line number Diff line number Diff line change 4
4
import static org .junit .jupiter .api .Assertions .assertFalse ;
5
5
import static org .junit .jupiter .api .Assertions .assertTrue ;
6
6
7
- import org .junit .jupiter .api .Test ;
8
- import org .junit .jupiter .api .BeforeEach ;
9
- import java .util .NoSuchElementException ;
10
7
import java .util .Iterator ;
8
+ import java .util .NoSuchElementException ;
9
+ import org .junit .jupiter .api .BeforeEach ;
10
+ import org .junit .jupiter .api .Test ;
11
11
12
12
class LinkedQueueTest {
13
13
You can’t perform that action at this time.
0 commit comments