4 ms·
Just to be clear, is this a valid example of the output you're looking for? longest_word("oteuhbicyclentehut") => "bicycle"
by mbrubeck 17y ago
Just to be clear, is this a valid example of the output you're looking for?
longest_word("oteuhbicyclentehut") => "bicycle"
- bladeaod 17y agoAt first glance, yes, unless there is a longer word in there