Vowel to Vowel Links

Published by Matt in

Given a sentence as str, return true if any two adjacent words have this property: One word ends with a vowel, while the word immediately after begins with a vowel (a e i o u).

Examples

vowel_links("a very large appliance") ➞ true

vowel_links("go to edabit") ➞ true

vowel_links("an open fire") ➞ false

vowel_links("a sudden applause") ➞ false

Notes

You can expect sentences in only lowercase.

Watch a quick demo on how Edabit works.