- 112
- 407 504
Competitive Programming with Shayan
United States
Приєднався 14 гру 2023
I’m Shayan, 24 years old. Since I was 17, I have been teaching competitive programming. During my 7 years of teaching, I’ve coached more than 300 students, many of whom have won medals in the IOI and achieved 2600+ ratings on Codeforces.
I was the coach of Iran’s team in IOI 2022, I am a world finalist of ICPC 2024, I am an International Grandmaster on Codeforces, and I have several medals and ranks in competitive programming competitions.
Currently, I am a PhD student at the University of Maryland, United States. At the same time, I’m working on projects for promising startups.
We have a topic stream each week on Friday from 12 - 14 GMT. Would love to see you there!
🔗 Join Our Growing Community:
Telegram: t.me/Competitive_Programming_Shayan
Discord: discord.com/invite/cgNKuYWvxe
I was the coach of Iran’s team in IOI 2022, I am a world finalist of ICPC 2024, I am an International Grandmaster on Codeforces, and I have several medals and ranks in competitive programming competitions.
Currently, I am a PhD student at the University of Maryland, United States. At the same time, I’m working on projects for promising startups.
We have a topic stream each week on Friday from 12 - 14 GMT. Would love to see you there!
🔗 Join Our Growing Community:
Telegram: t.me/Competitive_Programming_Shayan
Discord: discord.com/invite/cgNKuYWvxe
Codeforces Round 959 by NEAR (Div. 1 + Div. 2) - Official Solution Discussion
Codeforces Round 959 by NEAR (Div. 1 + Div. 2) - Official Solution Discussion
Переглядів: 5 024
Відео
2000+ DP #6 | 1870E - Another MEX Problem | Solving Dynamic Programming Codeforces Problems
Переглядів 9972 місяці тому
2000 DP #6 | 1870E - Another MEX Problem | Solving Dynamic Programming Codeforces Problems
2000+ DP #5 | 777E - Hanoi Factory | Solving Dynamic Programming Codeforces Problems
Переглядів 6223 місяці тому
2000 DP #5 | 777E - Hanoi Factory | Solving Dynamic Programming Codeforces Problems
2000+ DP #4 | 1223D - Sequence Sorting | Solving Dynamic Programming Codeforces Problems
Переглядів 9003 місяці тому
2000 DP #4 | 1223D - Sequence Sorting | Solving Dynamic Programming Codeforces Problems
Final Day | Disney World! | ICPC NAC 2024, Orlando
Переглядів 1,3 тис.3 місяці тому
Final Day | Disney World! | ICPC NAC 2024, Orlando
Day #5 | Won South Div, Bronze Medal, $7500 and Qualified to World Final Kazakhstan 2024
Переглядів 1,2 тис.3 місяці тому
Day #5 | Won South Div, Bronze Medal, $7500 and Qualified to World Final Kazakhstan 2024
Day #4 | Winning the DR Round, Meet the inventor of Link-Cut Tree | ICPC North America Championship
Переглядів 1,4 тис.3 місяці тому
Day #4 | Winning the DR Round, Meet the inventor of Link-Cut Tree | ICPC North America Championship
#Codeforces Round 947 Div 1 + Div 2 Solution Discussion (with Jan)
Переглядів 1,5 тис.3 місяці тому
#Codeforces Round 947 Div 1 Div 2 Solution Discussion (with Jan)
Day #3 | North America Championship, Orlando, Florida | ICPC Championship | Road to World Finals
Переглядів 9943 місяці тому
Day #3 | North America Championship, Orlando, Florida | ICPC Championship | Road to World Finals
Day #2 | ICPC NAC Vlog | North America Championship, Orlando, Florida | Road to World Finals
Переглядів 1 тис.3 місяці тому
Day #2 | ICPC NAC Vlog | North America Championship, Orlando, Florida | Road to World Finals
Day #1 | North America Championship, Orlando, Florida | ICPC Championship | Road to World Finals
Переглядів 1,1 тис.3 місяці тому
Day #1 | North America Championship, Orlando, Florida | ICPC Championship | Road to World Finals
Stuck on a Hard Problem... | CERC 2022 | Training Virtual Contest
Переглядів 5413 місяці тому
Stuck on a Hard Problem... | CERC 2022 | Training Virtual Contest
CodeSprint Los Angeles 2024 | Vlog | 6th in total, 1st amongst universities
Переглядів 1,9 тис.3 місяці тому
CodeSprint Los Angeles 2024 | Vlog | 6th in total, 1st amongst universities
Solving a 2-SAT Problem in a Livestream
Переглядів 6983 місяці тому
Solving a 2-SAT Problem in a Livestream
International Olympiad in Informatics I Amazing Vlog, Yogyakarta, Indonesia
Переглядів 4724 місяці тому
International Olympiad in Informatics I Amazing Vlog, Yogyakarta, Indonesia
1500+ DP #3 | 431 C - K-tree - Codeforces | Solving Dynamic Programming Problems
Переглядів 1,1 тис.5 місяців тому
1500 DP #3 | 431 C - K-tree - Codeforces | Solving Dynamic Programming Problems
1500+ DP #2 | Agressive Cows - SPOJ | Solving Dynamic Programming Problems
Переглядів 8605 місяців тому
1500 DP #2 | Agressive Cows - SPOJ | Solving Dynamic Programming Problems
DP Rerooting 2 | 2000+ DP #3 | 238C - World Eater Brothers | Solving Dynamic Programming Problems
Переглядів 2,7 тис.5 місяців тому
DP Rerooting 2 | 2000 DP #3 | 238C - World Eater Brothers | Solving Dynamic Programming Problems
DP Rerooting Idea | 1500+ DP #1 | 219D - Choosing Capital | Solving Dynamic Programming Problems
Переглядів 2,1 тис.6 місяців тому
DP Rerooting Idea | 1500 DP #1 | 219D - Choosing Capital | Solving Dynamic Programming Problems
2000+ DP #2 | 461B - appleman and tree | Solving Dynamic Programming Problems
Переглядів 1,9 тис.6 місяців тому
2000 DP #2 | 461B - appleman and tree | Solving Dynamic Programming Problems
2000+ DP #1 | 360B - Levko and Array | Solving Dynamic Programming Problems
Переглядів 2,8 тис.6 місяців тому
2000 DP #1 | 360B - Levko and Array | Solving Dynamic Programming Problems
Prefix Sums and Difference Array: 20 minutes of EVERYTHING you need to know
Переглядів 2,1 тис.6 місяців тому
Prefix Sums and Difference Array: 20 minutes of EVERYTHING you need to know
10 Minutes AtCoder Awesome Problems 1 | Stamp Rally | Parallel Binary Search and 2 Awesome solution
Переглядів 7196 місяців тому
10 Minutes AtCoder Awesome Problems 1 | Stamp Rally | Parallel Binary Search and 2 Awesome solution
Introduction to Graph Theory - Discrete Mathematics
Переглядів 1,1 тис.6 місяців тому
Introduction to Graph Theory - Discrete Mathematics
Winning THREE Regions of ICPC North America (USA) #vlog
Переглядів 4,2 тис.6 місяців тому
Winning THREE Regions of ICPC North America (USA) #vlog
Competitive Programming for FAANG #4 | Find Problems on Codeforces
Переглядів 2,3 тис.6 місяців тому
Competitive Programming for FAANG #4 | Find Problems on Codeforces
Competitive Programming for FAANG #3 | Clean Up Your Code!
Переглядів 1,1 тис.7 місяців тому
Competitive Programming for FAANG #3 | Clean Up Your Code!
Competitive Programming For FAANG #2 | What is Codeforces?
Переглядів 3,3 тис.7 місяців тому
Competitive Programming For FAANG #2 | What is Codeforces?
Competitive Programming for FAANG Companies
Переглядів 10 тис.7 місяців тому
Competitive Programming for FAANG Companies
except for last one i understood everything
Janek chcesz żeby dał ci więcej?
20:00 a bipartite graph should be for even Edges with even Vertices. (It should be Hamilton cycle as well? )
backtraking please...
thanks for this explanation
I really find this helpful, understanding the concepts in a simpler way. Hope you continue this streams till next year like you mentioned in this stream. Thank you.
Last year, there were zero submissions with JAVA So, a challenge for y'all is to use JAVA in at least one of the problems. 🤣
i couldnt join the stream but it seems fun
Hii
it will be very nice to add a sheet contaning the problems of each session
Can you please put the links to the problems ??
Very good video,this cleared logic building in graphs. Eagerly waiting for DP live stream
Help! with problem C. why if x=8, y=0, k=2 there should be 7 steps and not 8 steps it would take to get from 0,0 to 8,0. please explain....
because you can skip last step. (2,0) -> (2,0) -> (4,0) -> (4,0) -> (6,0) -> (6,0) -> (8,0) ; you dont need to take step to Y because you reached the point already
@@neptunns8537 thank you so much 😁
In the last problem why do cnt[i] * pw[cnt[i]-1]; during explaination you told pw[cnt[i]]-1
I am a newbie on Codeforces with a current rating of 642. Following your tips, I go to the CF problemset and try to solve brute-force, math, and implementation problems rated 900 to 1200. Do you think this is the right way to practice
Every prpblem was beautifully explained Master, I was able to visualize everything that you said ,and was able to do the code by myself ,keep it up master
Nice teaching sir
In C, we could generate all the numbers while unsetting the bit at every position that a bit in N is set starting from the least significant bit Here is the code for that ll n; cin >> n; vector<ll> ans; if(__builtin_popcount(n)==1){ cout<<1<<endl; cout<<n<<endl; return; } for(ll i=63;i>=0;i--){ if((1ll<<i) & n){ ll new_number = n^(1ll<<i); ans.push_back(new_number); } } ans.push_back(n); cout<<ans.size()<<endl; for(ll i=0;i<ans.size();i++)cout<<ans[i]<<" "; cout<<endl;
amazing!!! make same type of practice video for dp and graph
really helpful, can you show a better code version in the upcoming streams, i always find it difficult to write a clean code
make one for expert to master 🙏
pls show solutions
nice
Great!
really helpful, thanks Shayan, I follow you from Codeforce to now forever
This stream was so so helpful. It was awesome. Thank you for you amaizing dedication. Keep up the great work please.
عالی بود ممنون داداش زیرنویس فارسی نمیزاری؟
I think Trees then range-queries after graph would be great :)
❤❤❤❤❤❤
not only I learned solving a dp problem, but also learned how to not get a TLE when solving such dp problems on CF. Nice! Thanks for it!
Sir, I am practising all the coding question in only python... Could you suggest me some things as to continue the same? or move on to learn some other language as a backup? Please suggest something, sir!
Thankyou Shayan i love your explanations.
Problem C has the wrong answer on test 2.
I don't know why😢
Yes bro
you do not know how to solve doesn't mean the test case is wrong
see this test case: 4 3 7 answer is : 2
@@mohamedmahdi6036 Yes
How (0,10) is possible if k<10. since he/she can move in only positive directions ??
He will cover small steps let's say if k is 5 then in X direction he will move 0 distance then in y 5 units then again in x 0 and again in y 5 units making a total of 4 steps. I hope it helps
he will 0 in x-direction turns 0<=k
Jump 1(x) (0,0) ... Jump 2(y) (0,8) ... Jump 3(x) (0,8) ... Jump 4(y) (0,10)
Thanks a lot i hope u will do more this topic basic algoritm ❤
I am a at 1100 rating , hopefully , one day I will reach great hights
I repeated the video 3 times but when I understood it , I realized how accurate your logic of explanation is
It's nice to see how a grandmaster think. Thanks Shayan brother
chal be chinki
THANK YOU MAN THATS HELP A LOT
Janek chcesz żeby dał ci więcej?
What an amazing teacher, you are awesome!
Keep going sir ❤ great teaching 🤗 thanx a lot 🙏
I couldnt understand this part. X and Y can be negative but in our problem, X and Y are >= 1. How this doesnt change our answer? Can anyone please explain me this?
Thanx bhai
چطوری بلند ترین رشتش رو خروجی بدیم یعنی خود همون استرینگه؟
Problem C was brilliant
waiting for next streams... with alot of problem on dfs and bfs
Hey Shayan, would you be able to explain the old Codedorces question at the end of the session??
First of all shayan Thanks a lot for making these videos and it would be extremly helpful if some unusal question like c appeared tommorow u can share one or two question which might follow the same approach and thank you gain