working right for sample test cases but getting tle for real test cases. please check. question is k ordered lcs.
Https://ide.codingblocks.com/#/s/13825
working right for sample test cases but getting tle for real test cases. please check. question is k ordered lcs.
Https://ide.codingblocks.com/#/s/13825