Return minimum of following two Not including current char in answer Including current char
char [ ] St1 = new Char [ S . Length - 1 ] ; Array . Copy ( S , 1 , St1 , 0 , S . Length - 1 ) ; char [ ] St2 = new Char [ S . Length - 1 ] ; Array . Copy ( S , 1 , St2 , 0 , S . Length - 1 ) ; char [ ] Tt1 = new Char [ T . Length - ( k + 1 ) ] ; Array . Copy ( T , k + 1 , Tt1 , 0 , T . Length - ( k + 1 ) ) ; return Math . Min ( shortestSeq ( St1 , T , m - 1 , n ) , 1 + shortestSeq ( St2 , Tt1 , m - 1 , n - k - 1 ) ) ; }