Is the code of LCS correct in this function, Please check the code below.
Is the code of LCS correct in this function, Please check the code below
hello @cbcao263
your logic for for calculating lcs lenght is correct .
to get lcs string use while loop instead of for loop
Is it now correct one?
try to submit it and let me know if u get any error
No Output
Please tell about this error?
dont use for loop.
made some more changes pls check here ->
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.