mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-05 11:40:46 +08:00
fix: a typo in data_structures/linked_list.cpp (#1843)
This commit is contained in:
@@ -34,7 +34,7 @@ namespace linked_list {
|
||||
* This function checks if the string passed consists
|
||||
* of only digits.
|
||||
* @param s To be checked if s contains only integers
|
||||
* @returns true if there are only only digits present in the string
|
||||
* @returns true if there are only digits present in the string
|
||||
* @returns false if any other character is found
|
||||
*/
|
||||
bool isDigit(const std::string& s) {
|
||||
|
||||
Reference in New Issue
Block a user