[Algorithms] Determine if a string is a palindrome

A palindrome is a string that reads the same forward and backward, for example, radar, toot, and madam. In this lesson we discuss how to approach the palindrome problem using TypeScript / JavaScript.

We also discuss a more complex algorithmic challenge of writing a function to check if any permutation of a given string is a palindrome.

 

 

posted @ 2018-08-10 18:42  Zhentiw  阅读(200)  评论(0)    收藏  举报