Create LongestPalindromicSubstring.cpp

Using Dp