OpenGenus/cosmos
Auf GitHub ansehenNo of insertions to make to a string to make it a palindrome
Open
#576 geöffnet am 5. Okt. 2017
Hacktoberfestadd codenew algorithm
Repository-Metriken
- Stars
- (13.462 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
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