- 139
- 173 139
Coding Dynamo
India
เข้าร่วมเมื่อ 8 ต.ค. 2019
Solution Walkthroughs | Interview Tips | DSA | Competitive Programming & Everything In Between :)
Simple Palindrome | Codeforces 2005A Solution | Codeforces Round 972 (Div. 2)
In this video, I walk through the solution to problem A from Codeforces Codeforces Round 972 (Div. 2) contest held on:
Contest link: codeforces.com/contest/2005
Problem name: "simple palindrome"
My Submission:
codeforces.com/contest/2005/submission/281313737
I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscribe for more coding content!
Something else: sreejithcoast
Contest link: codeforces.com/contest/2005
Problem name: "simple palindrome"
My Submission:
codeforces.com/contest/2005/submission/281313737
I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscribe for more coding content!
Something else: sreejithcoast
มุมมอง: 256
วีดีโอ
Bessie's Birthday Cake (Easy Version) | Codeforces 1942C1 Solution | CodeTON Round 8 (Div. 1+Div. 2)
มุมมอง 7545 หลายเดือนก่อน
In this video, I walk through the solution to problem C1 from Codeforces CodeTON Round 8 (Div. 1 Div. 2, Rated, Prizes!) contest held on: Contest link: codeforces.com/contest/1942 Problem name: "bessie's birthday cake easy version" My Submission: codeforces.com/contest/1942/submission/254263859 I explain the thought process and logic behind the solution and show how to implement it in code. Don...
Bessie and MEX | Codeforces 1942B Solution | CodeTON Round 8 (Div. 1 + Div. 2) | English
มุมมอง 1.1K5 หลายเดือนก่อน
In this video, I walk through the solution to problem B from Codeforces CodeTON Round 8 (Div. 1 Div. 2, Rated, Prizes!) contest held on: Contest link: codeforces.com/contest/1942 Problem name: "bessie and mex" My Submission: codeforces.com/contest/1942/submission/254169810 I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and ...
Farmer John's Challenge | Codeforces 1942A Solution | CodeTON Round 8 (Div. 1 + Div. 2) | English
มุมมอง 4195 หลายเดือนก่อน
In this video, I walk through the solution to problem A from Codeforces CodeTON Round 8 (Div. 1 Div. 2, Rated, Prizes!) contest held on: Contest link: codeforces.com/contest/1942 Problem name: "farmer john's challenge" My Submission: codeforces.com/contest/1942/submission/254124697 I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to ...
Nearly Shortest Repeating Substring | Codeforces 1950D Solution | Codeforces Round 937 (Div. 4)
มุมมอง 5685 หลายเดือนก่อน
In this video, I walk through the solution to problem D from Codeforces Round 937 (Div. 4) contest held on: Contest link: codeforces.com/contest/1950 Problem name: "nearly shortest repeating substring" My Submission: codeforces.com/contest/1950/submission/253962431 I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscrib...
Upscaling | Codeforces 1950B Solution | Codeforces Round 937 (Div. 4) | English
มุมมอง 6065 หลายเดือนก่อน
In this video, I walk through the solution to problem B from Codeforces Round 937 (Div. 4) contest held on: Contest link: codeforces.com/contest/1950 Problem name: "upscaling" My Submission: codeforces.com/contest/1950/submission/253675823 I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscribe for more coding content!...
Product of Binary Decimals | Codeforces 1950D Solution | Codeforces Round 937 (Div. 4) | English
มุมมอง 1.3K5 หลายเดือนก่อน
In this video, I walk through the solution to problem D from Codeforces Round 937 (Div. 4) contest held on: Contest link: codeforces.com/contest/1950 Problem name: "Product of Binary Decimals" My Submission: codeforces.com/contest/1950/submission/253887928 I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscribe for mor...
Turtle Math: Fast Three Task | Codeforces 1933B Solution | Codeforces Round 929 (Div. 3) | English
มุมมอง 5496 หลายเดือนก่อน
In this video, I walk through the solution to problem B from Codeforces Round 929 (Div. 3) contest held on: Contest link: codeforces.com/contest/1933 Problem name: "turtle fingers fast three task" My Submission: codeforces.com/contest/1933/submission/248518835 I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscribe for...
Turtle Fingers: Count the Values of k | Codeforces 1933C Solution | Codeforces Round 929 | English
มุมมอง 8546 หลายเดือนก่อน
In this video, I walk through the solution to problem C from Codeforces Round 929 (Div. 3) contest held on: Contest link: codeforces.com/contest/1933 Problem name: "turtle fingers count the values of k" My Submission: codeforces.com/contest/1933/submission/248549458 I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscri...
Turtle Tenacity: Continual Mods | Codeforces 1933D Solution | Codeforces Round 929 (Div.3) | English
มุมมอง 4566 หลายเดือนก่อน
In this video, I walk through the solution to problem D from Codeforces Round 929 (Div. 3) contest held on: Contest link: codeforces.com/contest/1933 Problem name: "turtle tenacity continual mods" My Submission: codeforces.com/contest/1933/submission/248643004 I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscribe for...
Grouping Increases | Codeforces 1919C Solution | Hello 2024 | English
มุมมอง 2.4K8 หลายเดือนก่อน
In this video, I walk through the solution to problem C from Codeforces Hello 2024 contest held on: Contest link: codeforces.com/contest/1919 Problem name: "grouping increases" My Submission: codeforces.com/contest/1919/submission/240606549 I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscribe for more coding content...
Plus-Minus Split | Codeforces 1919B Solution | Hello 2024 | English
มุมมอง 4718 หลายเดือนก่อน
In this video, I walk through the solution to problem B from Codeforces Hello 2024 contest held on: Contest link: codeforces.com/contest/1919 Problem name: "plus minus split" My Submission: codeforces.com/contest/1919/submission/240513961 I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscribe for more coding content! ...
Christmas Candy | Codechef Starters 114 Problem A Solution | English
มุมมอง 5828 หลายเดือนก่อน
In this video, I walk through the solution to problem A from Codechef Starters 114 contest held on: Problem link: www.codechef.com/problems/CHRISCANDY Problem name: "christmas candy" My Submission: www.codechef.com/viewsolution/1037145382 I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscribe for more coding content! ...
Rock-Paper-Scissors | Codechef Starters 114 Problem B Solution | English
มุมมอง 8938 หลายเดือนก่อน
In this video, I walk through the solution to problem B from Codechef Starters 114 contest held on: Problem link: www.codechef.com/problems/MINRPC Problem name: "rock paper scissors" My Submission: www.codechef.com/viewsolution/1037188902 I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscribe for more coding content! ...
Heavy Intervals | Codeforces 1909C Solution | Pinely Round 3 (Div. 1 + Div. 2) | English
มุมมอง 2K8 หลายเดือนก่อน
In this video, I walk through the solution to problem C from Codeforces Pinely Round 3 (Div. 1 Div. 2)contest held on: Contest link: codeforces.com/contest/1909 Problem name: "heavy intervals" My Submission: codeforces.com/contest/1909/submission/238623744 I explain the thought process and logic behind the solution and show how to implement it in code. Don't forget to like and subscribe for mor...
Make Almost Equal With Mod | Codeforces 1909B Solution | Pinely Round 3 (Div. 1 + Div. 2) | English
มุมมอง 4.7K8 หลายเดือนก่อน
Make Almost Equal With Mod | Codeforces 1909B Solution | Pinely Round 3 (Div. 1 Div. 2) | English
Game with Marbles | Codeforces 1914E2 Solution | Codeforces Round 916 (Div. 3) | English
มุมมอง 1.7K9 หลายเดือนก่อน
Game with Marbles | Codeforces 1914E2 Solution | Codeforces Round 916 (Div. 3) | English
Problemsolving Log | Codeforces 1914A Solution | Codeforces Round 916 (Div. 3) | English
มุมมอง 1.1K9 หลายเดือนก่อน
Problemsolving Log | Codeforces 1914A Solution | Codeforces Round 916 (Div. 3) | English
Preparing for the Contest | Codeforces 1914B Solution | Codeforces Round 916 (Div. 3) | English
มุมมอง 5859 หลายเดือนก่อน
Preparing for the Contest | Codeforces 1914B Solution | Codeforces Round 916 (Div. 3) | English
Quests | Codeforces 1914C Solution | Codeforces Round 916 (Div. 3) | English
มุมมอง 2.9K9 หลายเดือนก่อน
Quests | Codeforces 1914C Solution | Codeforces Round 916 (Div. 3) | English
Three Activities | Codeforces 1914D Solution | Codeforces Round 916 (Div. 3) | English
มุมมอง 3.2K9 หลายเดือนก่อน
Three Activities | Codeforces 1914D Solution | Codeforces Round 916 (Div. 3) | English
Rating Increase | Codeforces 1913A Solution | Educational Codeforces Round 160 | English
มุมมอง 8109 หลายเดือนก่อน
Rating Increase | Codeforces 1913A Solution | Educational Codeforces Round 160 | English
Swap and Delete | Codeforces 1913B Solution | Educational Codeforces Round 160 | English
มุมมอง 3.8K9 หลายเดือนก่อน
Swap and Delete | Codeforces 1913B Solution | Educational Codeforces Round 160 | English
Game with Multiset | Codeforces 1913C Solution | Educational Codeforces Round 160 | English
มุมมอง 2.8K9 หลายเดือนก่อน
Game with Multiset | Codeforces 1913C Solution | Educational Codeforces Round 160 | English
Cyclic MEX | Codeforces 1905D Solution | Codeforces Round 915 (Div. 2) | English
มุมมอง 5819 หลายเดือนก่อน
Cyclic MEX | Codeforces 1905D Solution | Codeforces Round 915 (Div. 2) | English
Constructive Problems | Codeforces 1905A Solution | Codeforces Round 915 (Div. 2) | English
มุมมอง 3529 หลายเดือนก่อน
Constructive Problems | Codeforces 1905A Solution | Codeforces Round 915 (Div. 2) | English
Largest Subsequence | Codeforces 1905C Solution | Codeforces Round 915 (Div. 2) | English
มุมมอง 1.7K9 หลายเดือนก่อน
Largest Subsequence | Codeforces 1905C Solution | Codeforces Round 915 (Div. 2) | English
Begginer's Zelda | Codeforces 1905B Solution | Codeforces Round 915 (Div. 2) | English
มุมมอง 7939 หลายเดือนก่อน
Begginer's Zelda | Codeforces 1905B Solution | Codeforces Round 915 (Div. 2) | English
Shift and Reverse | Codeforces 1907F Solution | Codeforces Round 913 (Div. 3) | English
มุมมอง 7129 หลายเดือนก่อน
Shift and Reverse | Codeforces 1907F Solution | Codeforces Round 913 (Div. 3) | English
Good Triples | Codeforces 1907E Solution | Codeforces Round 913 (Div. 3) | English
มุมมอง 1.8K9 หลายเดือนก่อน
Good Triples | Codeforces 1907E Solution | Codeforces Round 913 (Div. 3) | English
very nice explanation thanks :)
thank you ! keep up your good work sir !
you are the best problem solver in youtube who can explain , i hope u keep going !
very clear and intutive. Thanks man❤
thx , u made it simple
Welcome Back Brother. Just love your explanations
not explained well
Can you share what could be done better, will improve in future videos
Thanks man .. I finally got it accepted .. thanks alot
the problem was so easy, i thought of using the inclusion - exclusion technique,couldn't do it.
your explanation is amazing!! LUB
Bhaiya why have you now stopped uploading videos? Are you on a break ? Please reply or give update regarding it.
Vai your are great.I love your videos.Take love from Bangladesh.Keep up the good work
In case, people don't get the flag approach, this maybe the better code 👇👇👇👇 int n; cin>>n; string s; cin>>s; int cnt=1; int ans=1; loop(n-1){ if(s[i]==s[i+1]) { cnt++; ans=max(ans,cnt); } else cnt=1; } cout<<ans+1<<nl;
no one explained this is question in such a detail fabulous
thank you very much for this amazing explanation !! i really appreciate it
good explanation
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0), cout.tie(0); int T = 1; cin >> T; while (T--) { int n; cin >> n; vector<int> a(n); for (int i = 0; i < n; i++) cin >> a[i]; long long s = accumulate(a.begin(), a.end(), 0ll), cur = 0; long long ans = 1; for (int i = 0; i < n - 1; i++) { cur += a[i], s -= a[i]; ans = max(ans, __gcd(s, cur)); } cout << ans << " "; } }
great explanation
thanks man this is the best solution for this problem
oh my god .. how you have come up with this solution ..please tell
void levelSabkeNiklenge(){ int n, k; cin >> n >> k; vector<int> a(n), b(n); for(int i=0; i<n; i++) cin >> a[i]; for(int i=0; i<n; i++) cin >> b[i]; int ans = 0, maxx = b[0], finalAns = 0; for(int i=0; i<min(k,n); i++){ int rem = k-i-1; maxx = max(maxx, b[i]); ans += a[i] + (rem * maxx); finalAns = max(finalAns, ans); ans -= (rem * maxx); } cout << finalAns << endl; }
Please bring more videos
Thanks a lot! Finally understand the solution ;)
gave a sub
DAMN DAMN DAMN very well done
mindblowing, thanks dude
BEAUTIFUL detailed explanation.Loved it. Thank you so much bro.❤
thanks
thanks buddy
it is very good and simple approach, thanks sir
awesome explanation thankyou so much
Bro if the rem =2 and the all values comes out to be 1(all odd numbers in arr) So if we insert 1 in set and after that we make the rem = 4 and we get the all values to be 0 and we insert 0 in set or (may be that it is guaranteed that we will get 1 only ) I don't know the bracket part is it im predicting right or if we get 0 So the set size becomes 2 right and we'll output rem = 4 are ans which is wrong .Im pretty much confused here what if I would have make the set empty after every time rm*2 . Is it ok or m i wrong would u please clear my doubt
nice explanation
Thanks for clear explanation its simple but i dont know why i dont get it before
Keep practicing
why can't we use this, sort array than try for all prefix element and same number of suffix element sum and check sum=max(sum, abs(pre[i]-pre[n-i-1])) please some one explain this...
great explaination
good explanation.Thanks❤
Thank you! why in the code the while loop condition is l<r-1, and not l<=r? and also why mid = l+(r-l)/2? and why l = mid, r = mid, not l = mid+1, and r = mid - 1? because I'm confused
Very Clear Explanation🖤
You explain great bro 😍
Epic
very well explained.
You explain really well. Thanks a lot.
god job👏
understood better than the editorial one
why LLONG_MAX/2 and NOT LLONG_MAX I am getting worong answer for LLONG_MAX
I have answered in response to the same question in another comment. You can check that.
Also if you didn't understand that, let me know, will try to help
Thank you, Bhaiya!
bhai kuch smjh nhi aya
WoW! What a explanation.