You are viewing a single comment's thread. Return to all comments →
For performance (no regex) mysql;
select city from station where (left(city, 1)) in ('a','e','i','o','u') intersect select city from station where (right(city, 1)) in ('a','e','i','o','u')
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Weather Observation Station 8
You are viewing a single comment's thread. Return to all comments →
For performance (no regex) mysql;