We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49fbad2 commit 3b5fadbCopy full SHA for 3b5fadb
src/main/java/com/thealgorithms/datastructures/lists/CreateAndDetectLoop.java
@@ -1,12 +1,12 @@
1
package com.thealgorithms.datastructures.lists;
2
3
-public final class CreateAndDetectLoop {
+public final class CreateAndDetectLoop {
4
5
// Node class representing a single node in the linked list
6
private CreateAndDetectLoop() {
7
throw new UnsupportedOperationException("Utility class");
8
}
9
- static final class Node {
+ static final class Node {
10
int data;
11
Node next;
12
0 commit comments