Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 280 Bytes

File metadata and controls

18 lines (14 loc) · 280 Bytes

Print All Palindromic Substrings

Easy


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

Example 1:

Input:  abcc 
Output:  a b c cc c

Constraints:

1 <= length of string <= 500