We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
This example is too simple. endswith() is enough to solve this with Python and similar solutions that do not require regular expressions may be easily devised in other languages.
For day 28, a harder problem which essentially obligates the user to use of regular expressions would be a better fit.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 28: RegEx, Patterns, and Intro to Databases
You are viewing a single comment's thread. Return to all comments →
This example is too simple. endswith() is enough to solve this with Python and similar solutions that do not require regular expressions may be easily devised in other languages.
For day 28, a harder problem which essentially obligates the user to use of regular expressions would be a better fit.