The code of the algorithm was not discussed

In the end of the video, the teacher said that we will discuss the implementation or code in the next video for this problem but in the next video some other problem was being discussed. Please help me with the code of this problem.

@pradyumn2006 hey here is link for code ,try it yourself .

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.