You are viewing a single comment's thread. Return to all comments →
From my HackerRank solutions.
SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP '[aeiou]$';
$ matches End of string [...] matches any character listed between the square brackets
Useful Regular Expression Reference
Let me know if you have any questions.
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 7
You are viewing a single comment's thread. Return to all comments →
MySQL solution
From my HackerRank solutions.
$ matches End of string
[...] matches any character listed between the square brackets
Useful Regular Expression Reference
Let me know if you have any questions.