I was sooooo confused with this optimal approach, you literally made it so easy. I can't thank you enough
@AyushiSharmaDSA3 ай бұрын
thank you, glad it helped 😊
@palakkumrawat68784 ай бұрын
Di Your videos are always simple and helpful
@AyushiSharmaDSA4 ай бұрын
Thanks a lot Palak😊
@samiranroyy17004 ай бұрын
Di nice explanation ❤
@AyushiSharmaDSA4 ай бұрын
thank you :)
@samiranroyy17004 ай бұрын
@@AyushiSharmaDSA yes di
@deepanshuagarwal24714 ай бұрын
Mam I solved that by using naive approach by my own but i understand efficient one by seeing a solution i am asking that when u solve that problem first time you can able to solve it efficient logic by own
@AyushiSharmaDSA4 ай бұрын
I was able to think up till the better one, but did know that we had to do it O(1) space complexity. Using the given matrix to keep a track and the C0 flag was a learning for me as well in this problem :)
@deepanshuagarwal24714 ай бұрын
@@AyushiSharmaDSA yup I was also able to right a better approach by my own
@rishiraj25482 ай бұрын
🙂👍🏻
@sarthakagarwal5673Ай бұрын
Thanks for putting in so much of efforts and time to make it so easy for us and the optimal approach it was really confusing but you made it clear @AyushiSharmaDSA 😀