Code & Notes: drive.google.com/file/d/1G9zMf2HrRRZbpVbHiqLOpbSFrtWtFvYo/view?usp=sharing Today's Live Contest Discussion might not come, Not feeling well 🥲. But I will try my best
class Solution { public: int mod=1e9+7; int delrow[4]={1,-1,0,0}; int delcol[4]={0,0,1,-1}; int countPaths(vector& grid) { int m=grid.size(); int n=grid[0].size(); //{vector,{i,j}} queueq; unordered_mapmp; for(int i=0;i
Code & Notes: drive.google.com/file/d/1G9zMf2HrRRZbpVbHiqLOpbSFrtWtFvYo/view?usp=sharing
Today's Live Contest Discussion might not come, Not feeling well 🥲. But I will try my best
if live isnt possible, kindly provide solutions as per ur convenience if possible
perfect length
today i was drunk but your video motivated me to do the problem and finally i did it, omg hat's off to you bruh😂😂😂😂😂😂
Classic textbook DP problem. I think this should be a good testing problem once you've learned very basic DP.
Thanks 😊
very nice thanks
Quality content and clear explanation. Subscribed
This was so smart man loved the problem especially memoization part
keep all videos around 15-17 min long max
class Solution {
public:
int mod=1e9+7;
int delrow[4]={1,-1,0,0};
int delcol[4]={0,0,1,-1};
int countPaths(vector& grid) {
int m=grid.size();
int n=grid[0].size();
//{vector,{i,j}}
queueq;
unordered_mapmp;
for(int i=0;i
hai Aryan I had doubt how you saying by seeing constraints it wont work like in this said 1e5*1e5 wont work ..
online compilers don't like anything beyond 10^8
Live stream??
No need to put so many mods, we should put only where needed
Explanation becomes cringy when you start doing some nonsense. Try to keep it simple bruh!