We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Just improved your code a bit.
- split() is slightly faster than split("")
- an if was not needed as always true
- variables names fit those used in the exercise
Array Manipulation
You are viewing a single comment's thread. Return to all comments →
Just improved your code a bit. - split() is slightly faster than split("") - an if was not needed as always true - variables names fit those used in the exercise