Computer Science, asked by mksbhattpn42, 1 month ago

program to find longest plaindrom in a string

Answers

Answered by sahnajchy1234
1

Answer:

The simple approach is to check each substring whether the substring is a palindrome or not. To do this first, run three nested loops, the outer two loops pick all substrings one by one by fixing the corner characters, the inner loop checks whether the picked substring is palindrome or not.

Explanation:

Hope it helps plz mark me s the BRAINLIEST :)

Similar questions