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.
- Prepare
- Python
- Regex and Parsing
- Validating UID
- Discussions
Validating UID
Validating UID
Sort by
recency
|
551 Discussions
|
Please Login in order to post a comment
After reviewing the disdcussions here, I realized the code I just posted should have the following improvements:
Here is the updated code:
I've had too many regex solutions in a row, so I decided to go a different way for this. I tried to focus on readability (and debugability).
Here is HackerRank Validating UID in Python solution - https://programmingoneonone.com/hackerrank-validating-uid-solution-in-python.html