mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
I added these return statements so that invalid inputs or valid end cases would no longer continue running through the rest of the function.