Ejemplo n.º 1
0
        public void FindLength()
        {
            var array  = new[] { 7, 2, 1, 3, 8, 4, 9, 1, 2, 6, 5, 9, 3, 8, 1 };
            int result = LongestIncreasingSubsequence.FindLength(array);

            Assert.Equal(5, result);
        }