Competitive Programming with Shayan
Competitive Programming with Shayan
  • 112
  • 407 504

Відео

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
The Terminology of Graphs
Переглядів 3916 місяців тому
The Terminology of Graphs
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

КОМЕНТАРІ

  • @suharshsharma6764
    @suharshsharma6764 13 годин тому

    except for last one i understood everything

  • @SCP049__
    @SCP049__ День тому

    Janek chcesz żeby dał ci więcej?

  • @anhkhoiaoduy6072
    @anhkhoiaoduy6072 День тому

    20:00 a bipartite graph should be for even Edges with even Vertices. (It should be Hamilton cycle as well? )

  • @samuelromanguerra2760
    @samuelromanguerra2760 2 дні тому

    backtraking please...

  • @Sivan_mina
    @Sivan_mina 3 дні тому

    thanks for this explanation

  • @HasithAddanki
    @HasithAddanki 3 дні тому

    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 3 дні тому

    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 3 дні тому

    i couldnt join the stream but it seems fun

  • @PrasadTGS
    @PrasadTGS 3 дні тому

    Hii

  • @L_Yassine
    @L_Yassine 4 дні тому

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

  • @Anonymous-c3f
    @Anonymous-c3f 4 дні тому

    Can you please put the links to the problems ??

  • @Joaquin5992
    @Joaquin5992 4 дні тому

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

  • @samuelromanguerra2760
    @samuelromanguerra2760 4 дні тому

    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 3 дні тому

      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 3 дні тому

      @@neptunns8537 thank you so much 😁

  • @dakshmaru8055
    @dakshmaru8055 5 днів тому

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

  • @nrnfacts9923
    @nrnfacts9923 5 днів тому

    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 6 днів тому

    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 7 днів тому

    Nice teaching sir

  • @viditgupta7088
    @viditgupta7088 7 днів тому

    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 7 днів тому

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

  • @HasithAddanki
    @HasithAddanki 8 днів тому

    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 8 днів тому

    make one for expert to master 🙏

  • @Ivan-gd3oo
    @Ivan-gd3oo 8 днів тому

    pls show solutions

  • @Randomuser7890
    @Randomuser7890 8 днів тому

    nice

  • @ObitoUchiha-q2l
    @ObitoUchiha-q2l 8 днів тому

    Great!

  • @anhkhoiaoduy6072
    @anhkhoiaoduy6072 9 днів тому

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

  • @imran4935
    @imran4935 10 днів тому

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

  • @mosihubble1400
    @mosihubble1400 11 днів тому

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

  • @arifmulani7130
    @arifmulani7130 11 днів тому

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

  • @SalamahSalamah-dp3ig
    @SalamahSalamah-dp3ig 11 днів тому

    ❤❤❤❤❤❤

  • @rlm3227
    @rlm3227 12 днів тому

    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 12 днів тому

    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 12 днів тому

    Thankyou Shayan i love your explanations.

  • @nahidhasan8080
    @nahidhasan8080 12 днів тому

    Problem C has the wrong answer on test 2.

  • @Maybemiles_C
    @Maybemiles_C 12 днів тому

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

    • @allinoneshaala3283
      @allinoneshaala3283 12 днів тому

      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 12 днів тому

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

    • @HelloWorld-yc7gj
      @HelloWorld-yc7gj 12 днів тому

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

  • @ArtyomDzagaryan
    @ArtyomDzagaryan 13 днів тому

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

  • @sksadiruddin4191
    @sksadiruddin4191 14 днів тому

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

  • @aymanalali8983
    @aymanalali8983 14 днів тому

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

  • @saifurrahman2503
    @saifurrahman2503 14 днів тому

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

  • @rupdipdas9481
    @rupdipdas9481 14 днів тому

    chal be chinki

  • @karemehab1723
    @karemehab1723 15 днів тому

    THANK YOU MAN THATS HELP A LOT

  • @SCP049__
    @SCP049__ 15 днів тому

    Janek chcesz żeby dał ci więcej?

  • @saintpotato8818
    @saintpotato8818 15 днів тому

    What an amazing teacher, you are awesome!

  • @LohitPTalavar
    @LohitPTalavar 15 днів тому

    Keep going sir ❤ great teaching 🤗 thanx a lot 🙏

  • @kannank4269
    @kannank4269 15 днів тому

    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 15 днів тому

    Thanx bhai

  • @adismath7015
    @adismath7015 15 днів тому

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

  • @shudhanshusingh1401
    @shudhanshusingh1401 15 днів тому

    Problem C was brilliant

  • @mohdalizilani9896
    @mohdalizilani9896 16 днів тому

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

  • @divyagarg4821
    @divyagarg4821 16 днів тому

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

  • @iPunishCode
    @iPunishCode 16 днів тому

    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