mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Apply suggestions from code review
This commit is contained in:
parent
e96d9b2899
commit
6436932f8d
@ -346,7 +346,8 @@ int main(int argc, char *argv[]) {
|
||||
search::sublist_search::Node *mainlistLL =
|
||||
search::sublist_search::makeLinkedList(mainlistData);
|
||||
search::sublist_search::Node *sublistLL =
|
||||
search::sublist_search::makeLinkedList(sublistData);
|
||||
search::sublist_search::makeLinkedList(sublistData); ///< Main list in which sublist is to be
|
||||
///< searched
|
||||
|
||||
bool exists = search::sublist_search::sublistSearch(
|
||||
sublistLL, mainlistLL); // boolean, if sublist exist or not
|
||||
|
Loading…
Reference in New Issue
Block a user