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

Hm. Solution could be expressed semantically like this (python):

  max((w for w in words if len(set('aioue').intersection(w)) <= 2), key=len)
But author's solution clearly contains more semantic elements.


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

Search: