K-ordered lcs----------

some test cases r coming wrong plz check where i have done mistake
link:-

Hi,

I have made some changes in your code. If(k>0) we may change character or may not change.

I hope this helps.

okk got it we need to remove else condition to take max of all possible cases…
bhai can you plz share you whatsapp no. for any other doubts plz

Sorry I can’t share my phone number in this portal. You can ask doubt in this discussion form. We will try our level best to resolve your doubt. Thank You

I hope i have resolved your doubt. If yes,please mark it as resolved.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.