Closed kengneruphine closed 4 years ago
First of all, your solution works! 👍
Can you think of a way to improve it? In terms of time or space complexity?
You used 3 expensive operations, split, reverse, join
. We can solve this problem without these.
I will think of another way to implement it and update this PR with the solution
Updated solution
The solution to Issue #12