Modify singly linked list swap function to swap nodes (#2983)

This commit is contained in:
RishabhSrivastava1423
2022-03-27 01:01:11 +05:30
committed by GitHub
parent 7d5de041eb
commit d53c2cef8c
2 changed files with 49 additions and 0 deletions

View File

@ -38,6 +38,7 @@ public class DuplicateBrackets {
Scanner sc = new Scanner(System.in);
String str = sc.nextLine();
System.out.println(check(str));
sc.close();
}
}