Update longestPalSubs.cpp

longestPalindrome2 ac