-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some functions in the linkedlist directory (#341)
* Add AccessNodesByLayer Function, which is used to access nodes layer by layer instead of printing the results as one line * Update the case of the function name in the main function so that it can run normally * Add ReversePartition() Function, which is used to reverse the linked list from the ath to the bth node * Add test program for function Reverse() in doublylinkedlist_test.go Co-authored-by: Yaolin_Li <[email protected]> Co-authored-by: Andrii Siriak <[email protected]> Co-authored-by: Rak Laptudirm <[email protected]>
- Loading branch information
1 parent
1f2df33
commit b2e79af
Showing
3 changed files
with
97 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters