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.
You are able to optimize even further because you don't need to iterate through the entire string (or create a pair of arrays from the string either). I've also created variables for the if statement for improved readability.
Funny String
You are viewing a single comment's thread. Return to all comments →
You are able to optimize even further because you don't need to iterate through the entire string (or create a pair of arrays from the string either). I've also created variables for the if statement for improved readability.