Tag Archives: palindrome

Finding the Longest substring in a string that is a palindrome

Hi, Recently my friend asked me this question so gave it a try and got it. So this is how the code goes: using System; using System.Collections.Generic; using System.Linq; namespace SubStringPalindrome { class Program { static int maxLength; static void … Continue reading

Posted in .NET, C#, CodeProject, General | Tagged , , , , , , | Leave a comment