Apply suggestions from code review

This commit is contained in:
David Leal 2021-07-06 15:17:06 -05:00 committed by GitHub
parent e96d9b2899
commit 6436932f8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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