Competitive Programming with Shayan
Competitive Programming with Shayan
  • 111
  • 398 673

วีดีโอ

2000+ DP #6 | 1870E - Another MEX Problem | Solving Dynamic Programming Codeforces Problems
มุมมอง 9802 หลายเดือนก่อน
2000 DP #6 | 1870E - Another MEX Problem | Solving Dynamic Programming Codeforces Problems
2000+ DP #5 | 777E - Hanoi Factory | Solving Dynamic Programming Codeforces Problems
มุมมอง 6113 หลายเดือนก่อน
2000 DP #5 | 777E - Hanoi Factory | Solving Dynamic Programming Codeforces Problems
2000+ DP #4 | 1223D - Sequence Sorting | Solving Dynamic Programming Codeforces Problems
มุมมอง 8943 หลายเดือนก่อน
2000 DP #4 | 1223D - Sequence Sorting | Solving Dynamic Programming Codeforces Problems
Final Day | Disney World! | ICPC NAC 2024, Orlando
มุมมอง 1.2K3 หลายเดือนก่อน
Final Day | Disney World! | ICPC NAC 2024, Orlando
Day #5 | Won South Div, Bronze Medal, $7500 and Qualified to World Final Kazakhstan 2024
มุมมอง 1.2K3 หลายเดือนก่อน
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.4K3 หลายเดือนก่อน
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.5K3 หลายเดือนก่อน
#Codeforces Round 947 Div 1 Div 2 Solution Discussion (with Jan)
Day #3 | North America Championship, Orlando, Florida | ICPC Championship | Road to World Finals
มุมมอง 9873 หลายเดือนก่อน
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
มุมมอง 1K3 หลายเดือนก่อน
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.1K3 หลายเดือนก่อน
Day #1 | North America Championship, Orlando, Florida | ICPC Championship | Road to World Finals
Stuck on a Hard Problem... | CERC 2022 | Training Virtual Contest
มุมมอง 5383 หลายเดือนก่อน
Stuck on a Hard Problem... | CERC 2022 | Training Virtual Contest
CodeSprint Los Angeles 2024 | Vlog | 6th in total, 1st amongst universities
มุมมอง 1.9K3 หลายเดือนก่อน
CodeSprint Los Angeles 2024 | Vlog | 6th in total, 1st amongst universities
Solving a 2-SAT Problem in a Livestream
มุมมอง 6953 หลายเดือนก่อน
Solving a 2-SAT Problem in a Livestream
International Olympiad in Informatics I Amazing Vlog, Yogyakarta, Indonesia
มุมมอง 4703 หลายเดือนก่อน
International Olympiad in Informatics I Amazing Vlog, Yogyakarta, Indonesia
1500+ DP #3 | 431 C - K-tree - Codeforces | Solving Dynamic Programming Problems
มุมมอง 1.1K5 หลายเดือนก่อน
1500 DP #3 | 431 C - K-tree - Codeforces | Solving Dynamic Programming Problems
1500+ DP #2 | Agressive Cows - SPOJ | Solving Dynamic Programming Problems
มุมมอง 8595 หลายเดือนก่อน
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.7K5 หลายเดือนก่อน
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
มุมมอง 2K5 หลายเดือนก่อน
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.9K5 หลายเดือนก่อน
2000 DP #2 | 461B - appleman and tree | Solving Dynamic Programming Problems
2000+ DP #1 | 360B - Levko and Array | Solving Dynamic Programming Problems
มุมมอง 2.8K6 หลายเดือนก่อน
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.1K6 หลายเดือนก่อน
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
มุมมอง 7186 หลายเดือนก่อน
10 Minutes AtCoder Awesome Problems 1 | Stamp Rally | Parallel Binary Search and 2 Awesome solution
The Terminology of Graphs
มุมมอง 3896 หลายเดือนก่อน
The Terminology of Graphs
Introduction to Graph Theory - Discrete Mathematics
มุมมอง 1.1K6 หลายเดือนก่อน
Introduction to Graph Theory - Discrete Mathematics
Winning THREE Regions of ICPC North America (USA) #vlog
มุมมอง 4.1K6 หลายเดือนก่อน
Winning THREE Regions of ICPC North America (USA) #vlog
Competitive Programming for FAANG #4 | Find Problems on Codeforces
มุมมอง 2.2K6 หลายเดือนก่อน
Competitive Programming for FAANG #4 | Find Problems on Codeforces
Competitive Programming for FAANG #3 | Clean Up Your Code!
มุมมอง 1.1K6 หลายเดือนก่อน
Competitive Programming for FAANG #3 | Clean Up Your Code!
Competitive Programming For FAANG #2 | What is Codeforces?
มุมมอง 3.3K7 หลายเดือนก่อน
Competitive Programming For FAANG #2 | What is Codeforces?
Competitive Programming for FAANG Companies
มุมมอง 10K7 หลายเดือนก่อน
Competitive Programming for FAANG Companies

ความคิดเห็น

  • @samuelromanguerra2760
    @samuelromanguerra2760 4 ชั่วโมงที่ผ่านมา

    backtraking please...

  • @Sivan_mina
    @Sivan_mina 6 ชั่วโมงที่ผ่านมา

    thanks for this explanation

  • @HasithAddanki
    @HasithAddanki 11 ชั่วโมงที่ผ่านมา

    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.

  • @IamAbhiinav
    @IamAbhiinav 14 ชั่วโมงที่ผ่านมา

    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. 🤣

  • @arpitgoyal2035
    @arpitgoyal2035 20 ชั่วโมงที่ผ่านมา

    i couldnt join the stream but it seems fun

  • @PrasadTGS
    @PrasadTGS วันที่ผ่านมา

    Hii

  • @L_Yassine
    @L_Yassine วันที่ผ่านมา

    it will be very nice to add a sheet contaning the problems of each session

  • @Anonymous-c3f
    @Anonymous-c3f วันที่ผ่านมา

    Can you please put the links to the problems ??

  • @Joaquin5992
    @Joaquin5992 วันที่ผ่านมา

    Very good video,this cleared logic building in graphs. Eagerly waiting for DP live stream

  • @samuelromanguerra2760
    @samuelromanguerra2760 2 วันที่ผ่านมา

    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....

    • @neptunns8537
      @neptunns8537 18 ชั่วโมงที่ผ่านมา

      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

    • @samuelromanguerra2760
      @samuelromanguerra2760 11 ชั่วโมงที่ผ่านมา

      @@neptunns8537 thank you so much 😁

  • @dakshmaru8055
    @dakshmaru8055 2 วันที่ผ่านมา

    In the last problem why do cnt[i] * pw[cnt[i]-1]; during explaination you told pw[cnt[i]]-1

  • @nrnfacts9923
    @nrnfacts9923 3 วันที่ผ่านมา

    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

  • @Cinema-fp9mh
    @Cinema-fp9mh 3 วันที่ผ่านมา

    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

  • @LohitPTalavar
    @LohitPTalavar 4 วันที่ผ่านมา

    Nice teaching sir

  • @viditgupta7088
    @viditgupta7088 4 วันที่ผ่านมา

    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;

  • @Gautam-lb5ti
    @Gautam-lb5ti 4 วันที่ผ่านมา

    amazing!!! make same type of practice video for dp and graph

  • @HasithAddanki
    @HasithAddanki 5 วันที่ผ่านมา

    really helpful, can you show a better code version in the upcoming streams, i always find it difficult to write a clean code

  • @shishirshahi1529
    @shishirshahi1529 5 วันที่ผ่านมา

    make one for expert to master 🙏

  • @Ivan-gd3oo
    @Ivan-gd3oo 5 วันที่ผ่านมา

    pls show solutions

  • @Randomuser7890
    @Randomuser7890 5 วันที่ผ่านมา

    nice

  • @ObitoUchiha-q2l
    @ObitoUchiha-q2l 5 วันที่ผ่านมา

    Great!

  • @anhkhoiaoduy6072
    @anhkhoiaoduy6072 6 วันที่ผ่านมา

    really helpful, thanks Shayan, I follow you from Codeforce to now forever

  • @imran4935
    @imran4935 7 วันที่ผ่านมา

    This stream was so so helpful. It was awesome. Thank you for you amaizing dedication. Keep up the great work please.

  • @mosihubble1400
    @mosihubble1400 9 วันที่ผ่านมา

    عالی بود ممنون داداش زیرنویس فارسی نمیزاری؟

  • @arifmulani7130
    @arifmulani7130 9 วันที่ผ่านมา

    I think Trees then range-queries after graph would be great :)

  • @SalamahSalamah-dp3ig
    @SalamahSalamah-dp3ig 9 วันที่ผ่านมา

    ❤❤❤❤❤❤

  • @rlm3227
    @rlm3227 9 วันที่ผ่านมา

    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!

  • @ankithak2634
    @ankithak2634 9 วันที่ผ่านมา

    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!

  • @misixxx4334
    @misixxx4334 9 วันที่ผ่านมา

    Thankyou Shayan i love your explanations.

  • @nahidhasan8080
    @nahidhasan8080 9 วันที่ผ่านมา

    Problem C has the wrong answer on test 2.

    • @aaadcat11
      @aaadcat11 9 วันที่ผ่านมา

      I don't know why😢

    • @ArvindGupta-zv1tr
      @ArvindGupta-zv1tr 9 วันที่ผ่านมา

      Yes bro

    • @powerplaying617
      @powerplaying617 9 วันที่ผ่านมา

      you do not know how to solve doesn't mean the test case is wrong

    • @mohamedmahdi6036
      @mohamedmahdi6036 9 วันที่ผ่านมา

      see this test case: 4 3 7 answer is : 2

    • @ArvindGupta-zv1tr
      @ArvindGupta-zv1tr 9 วันที่ผ่านมา

      ​@@mohamedmahdi6036 Yes

  • @Maybemiles_C
    @Maybemiles_C 10 วันที่ผ่านมา

    How (0,10) is possible if k<10. since he/she can move in only positive directions ??

    • @allinoneshaala3283
      @allinoneshaala3283 9 วันที่ผ่านมา

      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

    • @supriya_codes
      @supriya_codes 9 วันที่ผ่านมา

      he will 0 in x-direction turns 0<=k

    • @HelloWorld-yc7gj
      @HelloWorld-yc7gj 9 วันที่ผ่านมา

      Jump 1(x) (0,0) ... Jump 2(y) (0,8) ... Jump 3(x) (0,8) ... Jump 4(y) (0,10)

  • @ArtyomDzagaryan
    @ArtyomDzagaryan 11 วันที่ผ่านมา

    Thanks a lot i hope u will do more this topic basic algoritm ❤

  • @sksadiruddin4191
    @sksadiruddin4191 11 วันที่ผ่านมา

    I am a at 1100 rating , hopefully , one day I will reach great hights

  • @aymanalali8983
    @aymanalali8983 11 วันที่ผ่านมา

    I repeated the video 3 times but when I understood it , I realized how accurate your logic of explanation is

  • @saifurrahman2503
    @saifurrahman2503 11 วันที่ผ่านมา

    It's nice to see how a grandmaster think. Thanks Shayan brother

  • @rupdipdas9481
    @rupdipdas9481 12 วันที่ผ่านมา

    chal be chinki

  • @karemehab1723
    @karemehab1723 12 วันที่ผ่านมา

    THANK YOU MAN THATS HELP A LOT

  • @SCP049__
    @SCP049__ 12 วันที่ผ่านมา

    Janek chcesz żeby dał ci więcej?

  • @saintpotato8818
    @saintpotato8818 12 วันที่ผ่านมา

    What an amazing teacher, you are awesome!

  • @LohitPTalavar
    @LohitPTalavar 12 วันที่ผ่านมา

    Keep going sir ❤ great teaching 🤗 thanx a lot 🙏

  • @kannank4269
    @kannank4269 12 วันที่ผ่านมา

    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?

  • @LohitPTalavar
    @LohitPTalavar 12 วันที่ผ่านมา

    Thanx bhai

  • @adismath7015
    @adismath7015 13 วันที่ผ่านมา

    چطوری بلند ترین رشتش رو خروجی بدیم یعنی خود همون استرینگه؟

  • @shudhanshusingh1401
    @shudhanshusingh1401 13 วันที่ผ่านมา

    Problem C was brilliant

  • @mohdalizilani9896
    @mohdalizilani9896 13 วันที่ผ่านมา

    waiting for next streams... with alot of problem on dfs and bfs

  • @divyagarg4821
    @divyagarg4821 13 วันที่ผ่านมา

    Hey Shayan, would you be able to explain the old Codedorces question at the end of the session??

  • @iPunishCode
    @iPunishCode 13 วันที่ผ่านมา

    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

  • @QueenOfEvil-2
    @QueenOfEvil-2 13 วันที่ผ่านมา

    difficulty of c? 1300-1400?

  • @Gyanpapi_
    @Gyanpapi_ 13 วันที่ผ่านมา

    brother we want A Interview with the Goat tourist

  • @saifurrahman2503
    @saifurrahman2503 13 วันที่ผ่านมา

    Thanks a lot Shayan brother❤❤❤