mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-27 06:23:08 +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