at 24:15, can someone explain why he does the primes[i] ^= 1? what does that achieve?
@mehoneybadger99912 күн бұрын
bhai, one thing is for sure, you teach very bad. but thanks, at least , that that you bring up important topics, for free!
@JohnWilliams-y3k15 күн бұрын
Hello. Do you have a communication channel so we can talk about a project?
@Jitender29422 күн бұрын
Bhai tuu hindi bhi bolta hai 😂😂
@Reyna-yj6voАй бұрын
casually explaining sieve of erathosthenous
@sarthpatidar3916Ай бұрын
I am starting with phone
@surajkumarsingh4857Ай бұрын
❤❤
@SuryanshInstrumentalАй бұрын
Bruh, I am saying honestly that I started to learn C++ from 4th class, then till 9th I build so many 3d graphics games in Pure C++ , in 9th I learned Python and build IOT and Hacking Programs in it. in 11th class I learned Assembly language and build my own OS, BUT After this I stop to continue because of 12th studies, and literally currently I forgot those all, I can't do anything now, and I can't manage my time while doing graduation BTech in AiML
@AutoNoOne112 ай бұрын
I should sue my university for how awful they taught this concept. This is the clearest I have ever understood recursion
@adults_memehub2 ай бұрын
this video is illegal to watch having so much quality in one video
@Gaurav-yh5xj2 ай бұрын
c mei greedy works, and a better solution imo
@mystic35492 ай бұрын
the quality of people here :) feels almost illegal to hear their discussions for free _/\_ orzzzzzz
@RajuPatil-u3q2 ай бұрын
can any one explain how 6/2 = 1/2
@HarshitKumar-j8z2 ай бұрын
7:41
@antor.morsalin2 ай бұрын
There are no shortcuts
@ayanangshudasmajumder1122 ай бұрын
Whenever i initialize the dp array inside my solve() function it gives incorrect but it corrects as soon as i make it global. Any particular reason for that?
@utkarshgupta98582 ай бұрын
it doesn't set the values to 0 if you initialize it inside the function
@Negijicoder2 ай бұрын
2300..! And i struggle on 1500..
@Chirag-n7h3 ай бұрын
D Gukesh, what are you doing here?
@himanshugupta8123 ай бұрын
bhaiya i am also from iit bhu yeahhh
@viharivemuri72023 ай бұрын
if b == 0 you return 1.
@utkarshgupta98583 ай бұрын
yes correct, i made that small mistake in the video
@Josuke2172 ай бұрын
@@utkarshgupta9858Could you continue making videos related to cp because they are extremely helpful
@user-mo6nk1xp1p3 ай бұрын
This is not working now.. I can't change the default clang version compiler to gcc by the commands you have mentioned. What to do.... HELP please!!!!!! 🙏 🙏
@TilakRaj-qo6ic3 ай бұрын
Can someone please tell me which software he used to create thie presentation please
@praveenseervi49443 ай бұрын
sir jatin yadav ko bhi lekr aao kabi please
@namanjain16843 ай бұрын
// Online C++ compiler to run C++ program online #include <bits/stdc++.h> using namespace std; #define int long long int mod = 1e9+7; int32_t main() { // Write C++ code here int n,k; cin>>n>>k; vector <int> arr(n); for(int i=0;i<n;i++) cin>>arr[i]; vector <vector<int>> dp(n+1,vector<int>(k+1,0)); for(int i=0;i<=arr[0];i++) dp[0][i] = 1; for(int i=1;i<=k;i++) dp[0][i]+=dp[0][i-1]; for(int i=0;i<n;i++) dp[i][0] = 1; for(int i=1;i<n;i++){ for(int j=1;j<=k;j++){ int r = dp[i-1][j]; int l = 0; if(j-arr[i]>0) l = dp[i-1][j-arr[i]-1]; dp[i][j] = ((r-l+mod)%mod + dp[i][j-1])%mod; } } cout<<(dp[n-1][k]-dp[n-1][k-1]+mod)%mod<<endl; return 0; } iT IS GIVING WA ON 4 TETSCASE ANYONE WHO CAN HELP ME?
@shubhamchandra92583 ай бұрын
50 programming questions from Phone. What a legend !
@TheViral_fyp4 ай бұрын
Utkarsh like 6ka
@rajeshjha68054 ай бұрын
From one competition (jee) to another, they really like this shit ig 🤡