Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just to be clear, is this a valid example of the output you're looking for?

    longest_word("oteuhbicyclentehut") => "bicycle"


At first glance, yes, unless there is a longer word in there




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: