DP - 25: Count all Palindrome sub-string in given String

DP - 25: Count all Palindrome sub-string in given String

Coding Simplified

4 года назад

29,257 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@MohammedAmer26
@MohammedAmer26 - 28.09.2021 16:51

Is it in a c language

Ответить
@varunmanchanda3972
@varunmanchanda3972 - 24.04.2021 17:55

Sir, how to do recursively? please explain

Ответить
@soumakpoddar4372
@soumakpoddar4372 - 12.12.2020 12:29

bro, u just explained the dp recurrence....that's a way....u must show how we are able to react to that recurrence.....not directly the recurrence......👎

Ответить
@somyakumari3238
@somyakumari3238 - 02.09.2020 11:15

why second for loop starting with i=n-2,in code can you please tell me

Ответить
@allanisaketh4974
@allanisaketh4974 - 31.07.2020 17:08

Why you kept j-i ==1 condition in loop sir?

Ответить
@vasanthkumar2226
@vasanthkumar2226 - 12.06.2020 23:43

‘BAB’ also a palindrome right? Why this is missed?

Ответить
@abubakkarsiddique7129
@abubakkarsiddique7129 - 08.06.2020 13:48

Given a value N, total sum you have. You have to make change for Rs. N, and there is infinite supply of each of the denominations in Indian currency, i.e., you have infinite supply of { 1, 2, 5, 10, 20, 50, 100, 200, 500, 2000} valued coins/notes, Find the minimum number of coins and/or notes needed to make the change for Rs N. and print all the coins .(source GeeksforGeeks) sir in this question can be solved by dp but unable to find out the value of coins plz help sir

Ответить