mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
Modify singly linked list swap function to swap nodes (#2983)
This commit is contained in:
committed by
GitHub
parent
7d5de041eb
commit
d53c2cef8c
@@ -38,6 +38,7 @@ public class DuplicateBrackets {
|
||||
Scanner sc = new Scanner(System.in);
|
||||
String str = sc.nextLine();
|
||||
System.out.println(check(str));
|
||||
sc.close();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user