Tagged: javascript

Cool observation Morpheus, but what exactly is a palindrome? For people unfamiliar with this term, a quick google search defines it as: a word, phrase, or sequence that reads the same backwards as forwards, e.g. “madam” or “nurses run”. The definition is pretty self explanatory. Now, let’s think of an algorithm to check if a given string is a palindrome...