Why should I learn to check if a string is a palindrome using any tool with any degree of urgency?
To write medium articles.
Reversing a strong is pretty useful. The article could probably have combined the palindrome and reverse into a single snippet.
But then there’d be only 19 snips!
It’s an essential knowledge for passing dozens of data science job interviews!
The top of the article advises "4 min read." Think carefully to decide if this is an investment you are willing to make for this Medium (if not mediocre) post. It's for beginners apparently as these are 20 snippets that I didn't know I would ever need, let alone actually learn.
The thing is, most of these snippets are almost unreadable. That's Python, though.