public void LongestPalSimpleTest() { var longestP = new LongestPalindromic(); List <char> arrayofChar = new List <char>() { 'a', 'g', 'b', 'd', 'b', 'a' }; Console.WriteLine(longestP.Calculate(arrayofChar)); }
private static void TestNo5() { var output = new LongestPalindromic().LongestPalindrome("cbbd"); Console.WriteLine(output); }