Find the longest word in a String, is my solution good? [SPOILER!]

Hey, if it works, it works!

If you want to test the efficiency of your algorithm against the wiki answers, you can find a sample script here:

1 Like