Master Blaster Returns
0:24
3 жыл бұрын
Mistakes - The Greatest Teacher
1:10
Unacademy's Office Tour Ft. Striver
2:32
Пікірлер
@Malayalam_learner
@Malayalam_learner 2 күн бұрын
I i knew striver early i would have been in job right now
@mohitraj4878
@mohitraj4878 5 күн бұрын
notes link?
@Monilll
@Monilll 6 күн бұрын
much needed session 🔥
@theSpiritedStriker
@theSpiritedStriker 9 күн бұрын
starts at 3:10
@vishnupriyabharathi220
@vishnupriyabharathi220 14 күн бұрын
video starts at 8:00
@aman_axioms
@aman_axioms 14 күн бұрын
34:55 correct rearrangement: bx1 + (a-[a/b]b)y1 = g bx1 + ay1 - [a/b]by1 = g bx1 - [a/b]by1 + ay1 = g b(x1 - [a/b]y1) + ay1 = g by + ax = g ax + by = c
@Biradar_Ganesh
@Biradar_Ganesh 17 күн бұрын
I understood all the remaining videos perfectly but faced a bit of difficulty here. Anyways, Thank you for such a detailed video, Striver 🔥🫡.
@AsmitSrivastava-z4i
@AsmitSrivastava-z4i 19 күн бұрын
awesome
@shashanksingh3720
@shashanksingh3720 22 күн бұрын
1:26:19
@shashanksingh3720
@shashanksingh3720 22 күн бұрын
1:10:35
@saibharathalam6402
@saibharathalam6402 22 күн бұрын
GOAT STRIVER bolthe
@Rakesh_Sahoo630
@Rakesh_Sahoo630 24 күн бұрын
#striver_king of codding world....... love you
@bhartiverma2401
@bhartiverma2401 Ай бұрын
36:18 stivers words come true srinjoy joined google 4 months back
@YashKumar-rg3vy
@YashKumar-rg3vy Ай бұрын
1:10:10
@DaveAditya-b9s
@DaveAditya-b9s Ай бұрын
Very good video bhaiya. Learnt a lot of stuff from here.👍
@Malayalam_learner
@Malayalam_learner Ай бұрын
Ok it's average,not so great
@Malayalam_learner
@Malayalam_learner 2 ай бұрын
Thanks a lot man❤ i can apply this logic elsewhere! I got idea by you logic 😅
@Malayalam_learner
@Malayalam_learner 2 ай бұрын
4:12 start
@HarshMishra-ok3yp
@HarshMishra-ok3yp 2 ай бұрын
😂😂😂😂what the fuck shit way of teaching
@drexex0f
@drexex0f 2 ай бұрын
😂
@SHAKTIPRIYA-h7s
@SHAKTIPRIYA-h7s 2 ай бұрын
24:19
@luxuriousinformation7473
@luxuriousinformation7473 2 ай бұрын
Very Informative
@faakhirzahid6284
@faakhirzahid6284 3 ай бұрын
1:56:00 this solution is getting TLE In python, ig codeforces is impossible in python
@adityapandey23
@adityapandey23 3 ай бұрын
Understood
@rathore13055
@rathore13055 3 ай бұрын
bezoor
@bigB0sso789
@bigB0sso789 3 ай бұрын
Wtf are you teaching my friend
@MANIKANTAK-r8f
@MANIKANTAK-r8f 3 ай бұрын
2024 People Like
@railzoneindia331
@railzoneindia331 3 ай бұрын
19:00 auto it = st.begin(); std::advance(it, 2); // Advance iterator to point to the third element st.erase(st.begin(), it);
@ChachaHirandas
@ChachaHirandas 3 ай бұрын
1:01:20 good one
@ChachaHirandas
@ChachaHirandas 3 ай бұрын
56:30 good resume
@ChachaHirandas
@ChachaHirandas 3 ай бұрын
50:00
@pullurvenkateshwerreddy3700
@pullurvenkateshwerreddy3700 4 ай бұрын
Out put will be different
@pullurvenkateshwerreddy3700
@pullurvenkateshwerreddy3700 4 ай бұрын
Y u does not run the program
@amanrajput574
@amanrajput574 4 ай бұрын
understood 👍👍👍❤❤
@ShoyoHinata-ew4vn
@ShoyoHinata-ew4vn 4 ай бұрын
One of the best segment tree video. I was able to clear infosys oa round because of this video. Thank you so much striver bhaiya ♥️
@parthdurgude2617
@parthdurgude2617 4 ай бұрын
1:54:44 king fss!!!
@AyushVerma-ui7re
@AyushVerma-ui7re 4 ай бұрын
#include<iostream> #include<bits/stdc++.h> using namespace std; class SGTree{ vector<int> open; vector<int> close; vector<int> complete; public: SGTree(int n){ open.resize(4*n+1); close.resize(4*n+1); complete.resize(4*n+1); } void build(int ind, int low, int high, string& s){ if(low==high){ if(s[low]=='('){ open[ind]=1; close[ind]=0; } else{ open[ind]=0; close[ind]=1; } complete[ind]=0; return; } int mid=low+((high-low)>>1); build(2*ind+1, low,mid, s); build(2*ind+2, mid+1, high, s); open[ind]=open[2*ind+1]+open[2*ind+2]-min(open[2*ind+1], close[2*ind+2]); close[ind]=close[2*ind+1]+close[2*ind+2]-min(open[2*ind+1], close[2*ind+2]); complete[ind]=complete[2*ind+1]+complete[2*ind+2]+min(open[2*ind+1], close[2*ind+2]); } vector<int> query(int ind, int low, int high, int l, int r, string& s){ if(l> high || r< low) return vector<int>{0,0,0}; if(high<=r && low>=l) return vector<int>{open[ind], close[ind], complete[ind]}; int mid=low+((high-low)>>1); vector<int> left=query(2*ind+1, low, mid, l, r, s); vector<int> right=query(2*ind+2, mid+1, high, l, r, s); return vector<int>{left[0]+right[0]-min(left[0], right[1]), left[1]+right[1]-min(left[0], right[1]), left[2]+right[2]+min(left[0], right[1])}; } void print(){ for(int i=0;i<open.size();i++){ cout<<"| "<<open[i]<<" "<<close[i]<<" "<<complete[i]<<"| "; } } }; int main(){ string s; cin>>s; int n; cin>>n; SGTree sg1(s.size()); sg1.build(0, 0, s.size()-1, s); //sg1.print(); while(n--){ int l, r; cin>>l>>r; vector<int> ans=sg1.query(0, 0, s.size()-1, l-1, r-1, s); cout<<ans[2]*2<<endl; } }can someone tell me where can i optimize, because i am getting tle in test case 13
@YoUrDeAtH_XD
@YoUrDeAtH_XD 4 ай бұрын
GOD!
@samiulhaquesiddique4886
@samiulhaquesiddique4886 4 ай бұрын
46:00:00
@pythagoras31416
@pythagoras31416 4 ай бұрын
#include <bits/stdc++.h> using namespace std; #define nl ' ' int main() { int t; cin >> t; while (t--) { int n; cin >> n; int a = 1, b = 1, c = 1; for (int i = 2; i*i <= n; i++) { if (n % i == 0) { a = i; break; } } n = n/a; for (int i = a+1; i*i <= n; i++) { if (n % i == 0) { b = i; break; } } c = n/b; if (a != 1 && b != 1 && c != 1 && a!=b && b!=c && c!=a) { cout << "YES " << a << " " << b << " " << c << nl; } else { cout << "NO "; } } return 0; } my code
@LakhanGupta-g7d
@LakhanGupta-g7d 5 ай бұрын
I love you sir. I am gay. will you marry me ?
@binary_search
@binary_search 5 ай бұрын
I Did not understand the multiple possible answers wala part
@prachigupta4605
@prachigupta4605 5 ай бұрын
nice, never seen such awesome teaching in paid course of fraz
@prachigupta4605
@prachigupta4605 5 ай бұрын
yes, not ly fraz course paid covered
@souvikbasak7720
@souvikbasak7720 5 ай бұрын
36:13
@statusupdate7007
@statusupdate7007 5 ай бұрын
Great work strive Raj bro gained more knowledge 😊 Thank you bro🎉
@vishwajitrajput4321
@vishwajitrajput4321 5 ай бұрын
23:00 ,
@Josuke217
@Josuke217 5 ай бұрын
Learned a lot , finally completed. 12th July 2024.
@Josuke217
@Josuke217 5 ай бұрын
39:20 Great lecture 9/7/2024
@Haseebkhan-yd9ud
@Haseebkhan-yd9ud 5 ай бұрын
@mallepalligautham212
@mallepalligautham212 6 ай бұрын
these are all not working priority_queue<pair<int,int>> pal; pal.push({3,4}); pal.push({3,3}); pal.push({7,10}); list and deque ------ cout<<mal.at(mal.begin());