Update Linked List.cpp

fix: reverse check for empty list + cpplint coding style
This commit is contained in:
Marian Gusatu 2020-04-22 12:29:33 +03:00 committed by GitHub
parent 7be0b8deb3
commit 2edf620f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ void remove(int x) {
}
if (temp == NULL) {
std::cout << endl << x << " not found in list\n";
std::cout << std::endl << x << " not found in list\n";
return;
}