minimum distance to palindrome。
一个串可以增删改,返回最少操作次数形成palondrome.
感觉是用dp做
r*****s 发帖数: 1815
2
掐头去尾式dp
If we had no winter, the spring would not be so pleasant; if we did not
sometimes taste of adversity, prosperity would not be so welcome.
Anne Bradstreet