OpenGenus/cosmos

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

Open

#576 ouverte le 5 oct. 2017

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)C++ (3 724 forks)batch import
Hacktoberfestadd codenew algorithm

Métriques du dépôt

Stars
 (13 462 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur