mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-02 10:12:45 +08:00
Update Linked List.cpp
fix: reverse check for empty list + cpplint coding style
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user