Byte Heist Home Leaderboard
Join the Heist (with Github)
Solve View

Cave Man Speak

A challenge by mousetail avatar mousetail

Description

A Cave man word is a word that is at most four letters and alternates vowels and consonants. Y is a vowel if and only only if it is the last letter of a word.

Print only the lines in the input that are cave man words.

Leaderboard

Author Score
#1 hallvabo avatar hallvabo 90
#2 MeWhenI avatar MeWhenI 92
#3 Bulmenisaurus avatar Bulmenisaurus 101
#4 Natanaelel avatar Natanaelel 102
#5 bizy-coder avatar bizy-coder 105
#6 AlephSquirrel avatar AlephSquirrel 109
#7 mousetail avatar mousetail 235
JavaScript (Deno) JavaScript (NodeJS) Python Rust C (tcc) APL (TinyAPL) Vyxal Vyxal 3
You must be logged in to submit a solution.