Closed alistra closed 4 years ago
https://github.com/hoanhan101/algo/blob/64a58f1b486f9de749b5741f669111c19d6e81eb/interviewcake/reverse_string_test.go#L52
Isn’t this part useless? Code below will not run in those cases anyway, as start < end is false
That's correct. Thanks for the catch! I will update it right now.
https://github.com/hoanhan101/algo/blob/64a58f1b486f9de749b5741f669111c19d6e81eb/interviewcake/reverse_string_test.go#L52
Isn’t this part useless? Code below will not run in those cases anyway, as start < end is false