OpenGenus/cosmos

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

Open

#576 aperta il 5 ott 2017

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)C++ (3724 fork)batch import
Hacktoberfestadd codenew algorithm

Metriche repository

Star
 (13.462 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor