I am amazed by the clarity in which you teach. if you continue to upload such excellent contains there is no doubt for your success. You are amazing bro.
@niteshbagla60454 жыл бұрын
Really u taught better then my proffesional AD teacher, especially the delete, substitute and insert part..... now its easy to remember and didn't need to learn it,,, THANKS
@KnowledgeCenter4 жыл бұрын
Thanks.
@rajeshg17374 жыл бұрын
The way you explain the solution is very clear. I watched till ~7 mins and I tried to code myself and got it right whereas I was initially wondering how to start.
@KnowledgeCenter4 жыл бұрын
Great. Good job. I recommend this way to others as well.
@crankyinmv4 жыл бұрын
Yup, this is the one which kept me from finishing the May challenge. Really liked your clear explanation. It's obvious at this point I was taking the wrong approach.
@KnowledgeCenter4 жыл бұрын
Glad it was helpful!
@saswatsahoo50383 жыл бұрын
great explanation and hint! I watched upto 6:38 and was able to solve it...
@KnowledgeCenter3 жыл бұрын
Glad it was helpful.
@srijansaini62774 жыл бұрын
Really your way of describing is amazing!!
@KnowledgeCenter4 жыл бұрын
Thanks a lot 😊
@ravinalawade68424 жыл бұрын
nice explanation of recursive solution and then converting it into DP solution
@KnowledgeCenter4 жыл бұрын
Thanks.
@JardaniJovonovich1924 жыл бұрын
How did you get an idea to directly jump to last characters and then start comparing and then apply DP ? By reading the question itself did you understand that this is a DP problem ? How do we know that we have to follow DP approach to any problem ?
@KnowledgeCenter4 жыл бұрын
Breaking the problem into smaller sub-problems should always be in your mind. For problems dealing with 2 strings, How would you reduce your problem size? Either from front or end. The goodness with end is that, we will need to keep track of just end, beginning is implicitly 0. That's how my approach is how to reduce the problem size. DP idea will automatically come, when you see that, the main function can be written in recursive form in terms of smaller subproblems. Then you should check if there are overlaps in the smaller problems. That's it. We need to avoid recomputing same things. For this problem specifically, experience of solving Longest Common Subsequence problem would help.
@j8nya2 жыл бұрын
great!! but how to code explanation like horse->rorse (replace'h' with 'r')......can u help me to code🙏🙏🙏🙏
@yangiiu43474 жыл бұрын
Love your videos, follow you with LeetCode problems. BTW in python min(3, 5, 2...) is legal.
@KnowledgeCenter4 жыл бұрын
Cool, thanks for the info. That would save some effort.
@srikantsharma64304 жыл бұрын
Nice explanation!
@KnowledgeCenter4 жыл бұрын
Thanks!
@ghumakkad_yogi4 жыл бұрын
Can you made video on Google kickstart challenges also?
@KnowledgeCenter4 жыл бұрын
Sure. Will look into it. I was not aware of it.
@manishpanwar25174 жыл бұрын
Loved it
@KnowledgeCenter4 жыл бұрын
Thanks.
@varunagarwal284 жыл бұрын
Awesome explanation
@KnowledgeCenter4 жыл бұрын
Glad it was helpful!
@DD-ko4dt4 жыл бұрын
Add to Everyday Checklist: Knowledge Center KZbin channel