- Видео 177
- Просмотров 271 621
A Code Daily!
Добавлен 31 дек 2022
Fitness and lifestyle channel: www.youtube.com/@i_pranavmehta
-Upsolving contest problem (Codechef, Codeforces, Leetcode)
-lecture series for beginners and intermediate coders (different series for different levels)
-Daily challenges and thought provoking problems from websites likes Leetcode and GFG
-detailed solution on any problem (just mention the problem in any of the comments)
(Intermediate) Pro coders- discord.gg/H8TeFjvq6z
About me
Software Engineer, competitive programmer, power lifter, fitness and tech enthusiast. DM on discord for anything tech related and insta,twitter for anything fitness related!
twitter: i_pranavmehta
instagram: pranav.aesthetics
discord: discord.com/invite/H8TeFjvq6z
Coding profiles -
CC- i_pranav (5star)
CF- i_pranavmehta (Candidate Master)
Leetcode- i_pranav (Guardian)
linkedin - www.linkedin.com/in/pranav-mehta-b5a18b1ba/
-Upsolving contest problem (Codechef, Codeforces, Leetcode)
-lecture series for beginners and intermediate coders (different series for different levels)
-Daily challenges and thought provoking problems from websites likes Leetcode and GFG
-detailed solution on any problem (just mention the problem in any of the comments)
(Intermediate) Pro coders- discord.gg/H8TeFjvq6z
About me
Software Engineer, competitive programmer, power lifter, fitness and tech enthusiast. DM on discord for anything tech related and insta,twitter for anything fitness related!
twitter: i_pranavmehta
instagram: pranav.aesthetics
discord: discord.com/invite/H8TeFjvq6z
Coding profiles -
CC- i_pranav (5star)
CF- i_pranavmehta (Candidate Master)
Leetcode- i_pranav (Guardian)
linkedin - www.linkedin.com/in/pranav-mehta-b5a18b1ba/
Count Number of Possible Root Nodes | Tree rerooting | Leetcode 2581| Discord live session
twitter: i_pranavmehta
discord: discord.com/invite/H8TeFjvq6z
problems to practice: iitracin-my.sharepoint.com/:w:/g/personal/p_mehta_cs_iitr_ac_in/EW64GwKABdlMm1oSn2RfjYkB0KX8aoDwlts1Hhf8EzZW6w?e=GfFOJ6
prev session on tree rerooting: ruclips.net/video/Ox_sc84fHV0/видео.htmlsi=iuE9y64EKGxFxzUB
#coding #cp #leetcode #code #ACD #cpp #solve #DSA
discord: discord.com/invite/H8TeFjvq6z
problems to practice: iitracin-my.sharepoint.com/:w:/g/personal/p_mehta_cs_iitr_ac_in/EW64GwKABdlMm1oSn2RfjYkB0KX8aoDwlts1Hhf8EzZW6w?e=GfFOJ6
prev session on tree rerooting: ruclips.net/video/Ox_sc84fHV0/видео.htmlsi=iuE9y64EKGxFxzUB
#coding #cp #leetcode #code #ACD #cpp #solve #DSA
Просмотров: 1 559
Видео
2 pointers and sliding window | CF and LC | ACD course on CP
Просмотров 1,4 тыс.8 месяцев назад
discord: discord.com/invite/H8TeFjvq6z twitter: i_pranavmehta problems: iitracin-my.sharepoint.com/:w:/g/personal/p_mehta_cs_iitr_ac_in/EYL3yxNlDl5FrZ7jVbYeCx0BQEBTRJ2eVF7 ye7LOdWHA?e=n1BGzr thumbnail credits: vidya4sure Acodedaily #cp #Leetcode
Greedy Part 2 | ACD Course on CP | Codeforces and Leetcode problems
Просмотров 1,3 тыс.8 месяцев назад
more problems: iitracin-my.sharepoint.com/:w:/g/personal/p_mehta_cs_iitr_ac_in/EaOcX2RK-cFKr11iU94rvacBuebZTIKVitpepI2v8ybZ1Q?e=CNNj3g Greedy -1 : ruclips.net/video/bJp_ZPESFMc/видео.html discord: discord.com/invite/H8TeFjvq6z twitter: i_pranavmehta thumbnail credits: vidya4sure Acodedaily
Greedy Part 1 | ACD Course | Watch at 2x
Просмотров 2,7 тыс.9 месяцев назад
discord: discord.com/invite/H8TeFjvq6z twitter: i_pranavmehta problems: iitracin-my.sharepoint.com/:w:/g/personal/p_mehta_cs_iitr_ac_in/EbEgJpkrk1dKjnF4ZzmBDbQB4qtDVdyysweIUvous-XV4A?e=nWfOWo thumbnail credits: vidya4sure
bitwise operations | ACD CP Course lec-4 | watch at 2x | bit-ops
Просмотров 2,1 тыс.9 месяцев назад
bits blog: codeforces.com/blog/entry/95490 problems: iitracin-my.sharepoint.com/:w:/g/personal/p_mehta_cs_iitr_ac_in/Ef1RkWCTPwdBhNLQeXDh7l4BzffFSBULZHH9GfIxnzMlrQ?e=Z4Fdth discord: discord.com/invite/H8TeFjvq6z twitter: i_pranavmehta acodedaily a code daily CP a code daily competitive programming
Time and Space complexity Analysis | ACD CP Course Vid -4 | Watch at 1.5x
Просмотров 2 тыс.10 месяцев назад
codeforces.com/blog/entry/21344 #code #cpp #cp #DSA #cf
Maths for CP Part 3 | Combinatorics | ACD course video-3
Просмотров 2,7 тыс.10 месяцев назад
#maths #cp #code #cpp #cf #cc #atc Problems: iitracin-my.sharepoint.com/:w:/g/personal/p_mehta_cs_iitr_ac_in/Eejsbs6JRzhAug1Nyj2NI-EBFX5_Q4Nygm5rHj8tEKknVw?e=YeUUSq Python snippets: github.com/abcsumits/cp_with_python/blob/main/cp/combmod.py
Maths for CP part 2| Exponentiation and Modulo Maths | for beginners | ACD course | Watch at 1.5x
Просмотров 3 тыс.10 месяцев назад
#cp #cpp #code #cf my IDE setup: ruclips.net/video/9eX2FJhxvzI/видео.htmlsi=mWw7QNjOXKbrtQWs problems: iitracin-my.sharepoint.com/:w:/g/personal/p_mehta_cs_iitr_ac_in/EWYhPkxClmJFjEUCXy8jfmQBApcoSQQ88ze-XeY_2p5Q6g?e=MHY4YK discord: discord.com/invite/H8TeFjvq6z
How I solve problems faster (Thought process) on LC, CF, CC, Atc | LC daily challenge | watch at 2x
Просмотров 4,2 тыс.10 месяцев назад
#code #cp #dsa #cc #codechef #cf #coding
Maths for CP | Part 1 | basics | Number theory | watch at 1.5x
Просмотров 9 тыс.10 месяцев назад
resources and problems: iitracin-my.sharepoint.com/:w:/g/personal/p_mehta_cs_iitr_ac_in/Ee2C0Y4CFA5NmxdZ2DFDroYB6WT1UNpHB-nt2PPxr8hDNw?e=YodLg0 my setup: ruclips.net/video/9eX2FJhxvzI/видео.html For any doubts please reach out on the discord server (preferably the general channel): discord.com/invite/H8TeFjvq6z
CP Course Starts | Roadmap | How to excel | Resources
Просмотров 8 тыс.10 месяцев назад
#dsa #cp #cpp #code #cf #codeforces
I'm quitting CP | Free coding course | CP+placement course! |
Просмотров 7 тыс.10 месяцев назад
twitter: i_pranavmehta YT: youtube.com/@GrindCoding discord: discord.com/invite/H8TeFjvq6z #coding #cp #dsa #faang #placements #cpp #code #grind
Mo's algo | Discord discussion | Easy concept
Просмотров 1,1 тыс.11 месяцев назад
Mo's algo | Discord discussion | Easy concept
square root decomposition | Discord discussion | Mo's algo prereq
Просмотров 43111 месяцев назад
square root decomposition | Discord discussion | Mo's algo prereq
Lazy segment tree | Discord discussion | CP concept | Med- advanced
Просмотров 30711 месяцев назад
Lazy segment tree | Discord discussion | CP concept | Med- advanced
Segment Trees (Beginners) | Discord discussion | Basics | CSES | Implementation
Просмотров 632Год назад
Segment Trees (Beginners) | Discord discussion | Basics | CSES | Implementation
Codeforces Round 895 | Problem A-E (Div. 3) | Data Structures Fan | Plus Minus Permutation
Просмотров 1,2 тыс.Год назад
Codeforces Round 895 | Problem A-E (Div. 3) | Data Structures Fan | Plus Minus Permutation
Codeforces Round 888 (Div. 3) | Problems A-E
Просмотров 1,7 тыс.Год назад
Codeforces Round 888 (Div. 3) | Problems A-E
Leetcode Biweekly Contest 109 | By Kaushik.
Просмотров 375Год назад
Leetcode Biweekly Contest 109 | By Kaushik.
Codeforces Round 885 | Problem A-C | Vika and Price Tags | Vika and the Bridge
Просмотров 4,7 тыс.Год назад
Codeforces Round 885 | Problem A-C | Vika and Price Tags | Vika and the Bridge
Tries Basics | Leetcode | For Placements and CP
Просмотров 479Год назад
Tries Basics | Leetcode | For Placements and CP
Codeforces round 884 | Problem A-D | D. row major | C. particles | B. permutation & primes
Просмотров 1,4 тыс.Год назад
Codeforces round 884 | Problem A-D | D. row major | C. particles | B. permutation & primes
Codeforces 883 (Div3) | Problem A-E2 | By Kaushik
Просмотров 2 тыс.Год назад
Codeforces 883 (Div3) | Problem A-E2 | By Kaushik
Codeforces Round 882 (Div. 2) | Vampiric powers, anyone? | Hamon odyssey |The man who became a god
Просмотров 3 тыс.Год назад
Codeforces Round 882 (Div. 2) | Vampiric powers, anyone? | Hamon odyssey |The man who became a god
ACDLadders | A Code Daily Ladders | Free tool for maximum CP growth
Просмотров 2,7 тыс.Год назад
ACDLadders | A Code Daily Ladders | Free tool for maximum CP growth
A Code Daily Portal Discord discussion.
Просмотров 540Год назад
A Code Daily Portal Discord discussion.
Codeforces Educational Round 150 (Div. 2) | D. Pairs of Segments | C. Ranom Numbers |
Просмотров 3,1 тыс.Год назад
Codeforces Educational Round 150 (Div. 2) | D. Pairs of Segments | C. Ranom Numbers |
codeforces Round 875 (Div. 2) | C. Copil Copac Draws Tree | B. Array merging | A. Twin Permutations
Просмотров 4,4 тыс.Год назад
codeforces Round 875 (Div. 2) | C. Copil Copac Draws Tree | B. Array merging | A. Twin Permutations
Codeforces Educational round 149 | D. Bracket Coloring | C. Best Binary String |B. Comparison String
Просмотров 1,8 тыс.Год назад
Codeforces Educational round 149 | D. Bracket Coloring | C. Best Binary String |B. Comparison String
Codechef Starters 90 | Sum of goodness | Crushed Apple and balance scale | Anti Palindrome
Просмотров 1,4 тыс.Год назад
Codechef Starters 90 | Sum of goodness | Crushed Apple and balance scale | Anti Palindrome
Man this is one of the best explanations I've ever seen!
did your code fail on TC 31 ?!
5:42 if(n<=2) return false? or if(n<2) return false....is not 2 a prime number ,..
how do we prove this though that if they have same id then ans is swap - 1
Dude whosoever you are. YOU ARE AWESOME!! If possible, can you make a video on ternary search.
Came from twitter🎉😂
All clear ! thank you sir
Any practice questions.
@Acodedaily is this course still available on RUclips. I an not abe to find hashing video.
How do i select problem from leetcode according to the roadmap. Should i just select tag and do bunch of easy medium and hards
getting wrong answer on tc - 2
Cool!
Thankyou Bhaiya.
I had a doubt does CPH judge submit works during contests? I was trying it during the last contest and it didn't seem to work for me. But on other problems it works like a charm. Great video, watching it for the 2nd time.
How to do this problem using visualogo? Please reply
Hey dude, thanks for the video :)
Which tools and devices you are using to draw this way?
the extension is now available on chrome
Awsome!
Where do I find the problem set?
Best explanation on YT brother
How to do for Java ?
it is not working
Not so a good explaination
I know you might not answer but here is my doubt on D1: Suppose lastUsed variable tells which program is running on CPU1. Let's say a3 is running on cpu1 and a1 is running on cpu2. Now at i=4, we can see that a[i-1], i.e., a[3] is running on cpu1 but how can we comment what is running on cpu2?
Now if a[i-1] was not running on cpu1 then we can obviously comment that it must be running on cpu2 but I am concerned about the case stated above.
Don't look it as programs on cpu1 and cpu2,look ot as program[i-1] and last program on other cpu,it doesn't matter which cpu had which program,hence u only need to know about programs in 2 diff cpu and not that which cpu had which program
Bhaiya plz ek or profile review session karo
thank you ❤
sample % python3 ../test.py -c correct.cpp -w wrong.cpp -g generator.cpp -t 1
21:35 bro came here to flex and get appreciation.. //that was visible throughout the conversation
thanks man, it makes my cpp coding 7000ms faster ⚡⚡⚡
thx,finally understand
thanks
Fyi, Kev became candidate master 😅 (I am not Kev btw)
iirc, I took his mock interview and he's in JPMC now!
Hey Pranav and Arpit, This really brings back memories of my previous summer, those CP grinds were well worth it. The mock interviews were amazing for me and I am glad I was able to connect with you (I am Kev btw 😃😃)
Note: (n-r)+1 ✅ (n-r+1) ❌
okay but whats the answer to the question in the thumbnail?
Wow! what an explanation with drawings.... You are a very good teacher...
Just a little doubt , can we consider any node as root node and answer will be same????
nooooooo
Very nice explanation sir, Thank you!
Sir, I thought of an approach that if the count of the bits at particular point is 1 if it is greater than or equal to n then it's gonna fail because we can't make the number out of it. And I have taken care of the fact that it occurs in different numbers. but at the 2nd test case it give TLE
what for this test case n=5 3=1 2 3 3=1 2 3 4=1 2 3 4 3=1 2 3 3=1 2 3
should it not be 1/1000, 1/999 and 1/998?
Are you iit graduated??
Hey! may you help me why my code is showing wrong answer on test case 2 . Output of my code on wrong test case is same as yours, also on other test cases. #include<bits/stdc++.h> using namespace std; #define int long long vector<int>divisors(int n){vector<int>v;for(int i=1;i*i<=n;i++){if(n%i==0){if(n/i==i){v.push_back(i);}else {v.push_back(i);v.push_back(n/i);}}}sort(v.begin(),v.end());return v;} void func(){ int n; cin>>n; vector<int>v; v=divisors(n); int t=v.size(); int cnt=0; int j=0; // for(int i=0;i<t;i++)cout<<v[i]<<" ";cout<<endl; while(j<t){ cnt++; if(v[j]-v[j-1]>1){ break;//abababababa } j++; } // cout<<cnt<<endl; string s; char ch='a'; for(int i=0;i<n;i++){ // cout<<ch; s+=ch; ch+=1; if(ch-'a'>=cnt)ch='a'; } cout<<s<<endl; } signed main(){ int T=1; cin>>T; while(T--){ func(); } return 0; }
thanks man.
Nice
submit feature is only limited to Firefox :(
I am currently learning Dsa(java) can i do cp (c++)also along with it
Sir, please do upload the videos on prefix sum and recursion / dfs.....
Well a brilliant video. Comprehensively covers everything for everyone. I think Creating RUclips shorts out of the answers to the questions would help in increasing the growth of this channel even further.
I can help in making shorts if you require an editor
nice stream . enjoyed it
best channel for PCD's 👍👍👍👍
pcd?
@@batmanlovesjokerr post contest discussion