why answer is wrong ??
Print LCS problem
hello @mandeepchohan96
it is not working even on ur provided input.
the idea is to first prepare lcs dp table and then use that table to get lcs string.
refer this ->article
why answer is wrong ??
hello @mandeepchohan96
it is not working even on ur provided input.
the idea is to first prepare lcs dp table and then use that table to get lcs string.
refer this ->article