Print All Palindromic Substrings | Module : Basics of programming | In Hindi | Python | Video_2

preview_player
Показать описание

NADOS also enables doubt support, career opportunities and contests besides free of charge content for learning. This video will explain you how tp print All Pallindromic Substrings.

Question Name:
Print All Palindromic Substrings

Question Statement:
1. You are given a string.
2. You have to print all palindromic substrings of the given string.

Topic: #Strings #printAllPallindromicSubstrings #substrings

Used #DataStructure: #Strings #StringBuilder #Recursion

#TimeComplexity: O(n^3)

#SpaceComplexity: O(n)

--------------------------------------------------------------

More Youtube PlayList:

---------------------------------------------------------------

Pepcoding has taken the initiative to provide counselling and learning resources to all curious, skillful and dedicated Indian coders. This video is part of the series to impart industry-level web development and programming skills in the community.



We also provide professional courses with live classes and placement opportunities.

.

.

.

Happy Programming !!! Pep it up

----------------------------------------------------------------

#Strings #printAllPallindromicSubstrings #substrings #printAllPallindromicSubstrings

=================================================================
Рекомендации по теме
Комментарии
Автор

we check if palindrome by comparing the original string with its reversed right?
if s == s[::-1]:
print(s)

Peterin
Автор

you are counting it wrong madam indexing mai ek km hota hai aur length count krne mai utna hi rehta hai. Yha hum indexing kr re hai.

surbhirohilla