public void LongestPalSimpleTest()
        {
            var         longestP    = new LongestPalindromic();
            List <char> arrayofChar = new List <char>()
            {
                'a', 'g', 'b', 'd', 'b', 'a'
            };

            Console.WriteLine(longestP.Calculate(arrayofChar));
        }
Exemple #2
0
        private static void TestNo5()
        {
            var output = new LongestPalindromic().LongestPalindrome("cbbd");

            Console.WriteLine(output);
        }