3 ms·
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 sol
by bvrmn 3y ago
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.