How to print character instead of count
hello @kishoretaru this you can do this by comparing the strings if the particular letter is same then print .
but as i can see your code and you have not applied dp in it .
this is a question of 2-d dynamic programming .
therefore first you have to optimise your approach and then you have to do printing part .
here for your reference i am attaching the code .
if you feel that you have doubt in someting then please ask here .
Happy Learning !!
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.