OpenGenus/cosmos

No of insertions to make to a string to make it a palindrome

Open

#576 opened on 2017年10月5日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)C++ (3,724 forks)batch import
Hacktoberfestadd codenew algorithm

Repository metrics

Stars
 (13,462 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

For eg:- If the string is aba no of insertions is 0 ------do-------- ab no is insertions is 1( we have to add a to make it pallindrome)
Hint: It is a dynamic programming algorithm

コントリビューターガイド