TLE Eliminators - by Priyansh
TLE Eliminators - by Priyansh
  • 232
  • 939 760
Codechef Starters 145 | Video Solutions - A to D | by Harsh Gupta | TLE Eliminators
Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D of Codechef Starters 145 (Div 2). The live discussion was done with students of TLE Eliminators, this is the recording of the same. We hope this will be useful for you in up-solving this contest.
📢Check out handpicked problems by Priyansh himself, on our CP-31 sheet: www.tle-eliminators.com/cp-sheet
Solution Codes:
Make My Array Equal: www.codechef.com/viewsolution/1076015982
Make Bob Win: www.codechef.com/viewsolution/1076115459
Square String: www.codechef.com/viewsolution/1076106964
Beautiful Array: www.codechef.com/viewsolution/1076253517
Be sure to check out TLE Eliminators.
Website: www.tle-eliminators.com/
Instagram: tle_eliminators
Linkedin: www.linkedin.com/company/tle-eliminators
Twitter: TLE_Eliminators
TLE Community Discord Server: discord.gg/xmTtS4XdJw
Timestamps:-
0:00 Problem A
Problem B
Problem C
Problem D
มุมมอง: 520

วีดีโอ

Educational Codeforces Round 168 | Video Solutions - A to D | by Harsh Gupta | TLE EliminatorsEducational Codeforces Round 168 | Video Solutions - A to D | by Harsh Gupta | TLE Eliminators
Educational Codeforces Round 168 | Video Solutions - A to D | by Harsh Gupta | TLE Eliminators
มุมมอง 2.3K2 วันที่ผ่านมา
Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D of Educational Codeforces Round 168. The live discussion was done with students of TLE Eliminators, this is the recording of the same. We hope this will be useful for you in up-solving this contest. 📢Check out handpicked problems by Priyansh himself, on our CP-31 sheet: www.tle-eliminators.com/cp-sheet...
Pinely Round 4 | Video Solutions - A to E | by Harsh Gupta | TLE EliminatorsPinely Round 4 | Video Solutions - A to E | by Harsh Gupta | TLE Eliminators
Pinely Round 4 | Video Solutions - A to E | by Harsh Gupta | TLE Eliminators
มุมมอง 1.9K3 วันที่ผ่านมา
Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D, E of Codeforces Pinely Round 4 (Div. 1 Div. 2). The live discussion was done with students of TLE Eliminators, this is the recording of the same. We hope this will be useful for you in up-solving this contest. 📢Check out handpicked problems by Priyansh himself, on our CP-31 sheet: www.tle-eliminators....
Free Access To Our Course Helped Kunal Get To Expert | Kunal Shaw | Student TestimonialFree Access To Our Course Helped Kunal Get To Expert | Kunal Shaw | Student Testimonial
Free Access To Our Course Helped Kunal Get To Expert | Kunal Shaw | Student Testimonial
มุมมอง 1.5K4 วันที่ผ่านมา
Meet Kunal, one of our students at TLE from our previous batches. Seeing his potential, we gave Kunal free access to the level 4 course at TLE Eliminators 10.0. With his practice and dedication, he was able to get to Expert on Codeforces. This video covers his journey on the same. If you are confused / need a path to competitive programming where you will be guided by one of India’s best compet...
Leetcode Weekly Contest 408 | Video Solutions - A to D | by Harsh Gupta | TLE EliminatorsLeetcode Weekly Contest 408 | Video Solutions - A to D | by Harsh Gupta | TLE Eliminators
Leetcode Weekly Contest 408 | Video Solutions - A to D | by Harsh Gupta | TLE Eliminators
มุมมอง 3.6K4 วันที่ผ่านมา
Here are the video solutions for problems A, B, C, D of Leetcode Weekly Contest 408. We hope this will be useful for you in up-solving this contest. 📢Check out handpicked problems by Priyansh himself, on our CP-31 sheet: www.tle-eliminators.com/cp-sheet Solution Codes: Problem A: leetcode.com/submissions/detail/1335855227/ Problem B: leetcode.com/contest/weekly-contest-408/submissions/detail/13...
Tips on Cracking Online Assessments | Priyansh Agarwal | TLE EliminatorsTips on Cracking Online Assessments | Priyansh Agarwal | TLE Eliminators
Tips on Cracking Online Assessments | Priyansh Agarwal | TLE Eliminators
มุมมอง 6K5 วันที่ผ่านมา
Cracking Online Assessments has become ridiculously difficult due to competition. In this session, Priyansh Agarwal (SWE @Google, ICPC World Finalist) will give you essential tips and resources on cracking online assessments. Practice Sheet: www.tle-eliminators.com/cp-sheet For making your problem solving rock solid, join TLE 11.0 today: www.tle-eliminators.com/courses
Codeforces Round 962 | Video Solutions - A to F | by Raghav Goel | TLE EliminatorsCodeforces Round 962 | Video Solutions - A to F | by Raghav Goel | TLE Eliminators
Codeforces Round 962 | Video Solutions - A to F | by Raghav Goel | TLE Eliminators
มุมมอง 3.2K5 วันที่ผ่านมา
Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D, E, F of Codeforces Round 962(Div 3). The live discussion was done with students of TLE Eliminators, this is the recording of the same. We hope this will be useful for you in up-solving this contest. 📢Check out handpicked problems by Priyansh himself, on our CP-31 sheet: www.tle-eliminators.com/cp-shee...
How to choose the right level at TLE Eliminators?How to choose the right level at TLE Eliminators?
How to choose the right level at TLE Eliminators?
มุมมอง 1.9K7 วันที่ผ่านมา
Check out our courses at www.tle-eliminators.com/courses. Last Few Slots left - book yours today! Classes start on 3rd August, 2024. We hope this video helps you decide the right course for your Competitive Programming Journey! TLE offers personalised learning with 4 distinct levels allowing you to learn only those topics relevant for you- Level 1: Designed for complete beginners, this level fo...
How our student got to Expert | Yash Pratap Singh | Student TestimonialsHow our student got to Expert | Yash Pratap Singh | Student Testimonials
How our student got to Expert | Yash Pratap Singh | Student Testimonials
มุมมอง 3.4K7 วันที่ผ่านมา
Meet Yash, one of our students from the previous TLE batches. Yash rose from newbie to Expert during his time with us in TLE Eliminators and we believe that you too can have such an inspiring journey. If you are confused / need a path to competitive programming where you will be guided by one of India’s best competitive programmers then consider joining our TLE 11.0 batch today. www.tle-elimina...
Codechef Starters 144 | Video Solutions - A to D | by Harsh Gupta | TLE EliminatorsCodechef Starters 144 | Video Solutions - A to D | by Harsh Gupta | TLE Eliminators
Codechef Starters 144 | Video Solutions - A to D | by Harsh Gupta | TLE Eliminators
มุมมอง 2.2K7 วันที่ผ่านมา
Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D of Codechef Starters 144 (Div 2). The live discussion was done with students of TLE Eliminators, this is the recording of the same. We hope this will be useful for you in up-solving this contest. 📢Check out handpicked problems by Priyansh himself, on our CP-31 sheet: www.tle-eliminators.com/cp-sheet So...
Codeforces Round 961 | Video Solutions - A to B2 | by Harsh Gupta | TLE EliminatorsCodeforces Round 961 | Video Solutions - A to B2 | by Harsh Gupta | TLE Eliminators
Codeforces Round 961 | Video Solutions - A to B2 | by Harsh Gupta | TLE Eliminators
มุมมอง 2.4K8 วันที่ผ่านมา
Here are the video solutions in the form of a post-contest discussion for problems A, B1, B2 of Codeforces Round 961 (Div 2). The live discussion was done with students of TLE Eliminators, this is the recording of the same. We hope this will be useful for you in up-solving this contest. 📢Check out handpicked problems by Priyansh himself, on our CP-31 sheet: www.tle-eliminators.com/cp-sheet Solu...
Intro to Recursion | Harsh Gupta | Level 2 | TLE EliminatorsIntro to Recursion | Harsh Gupta | Level 2 | TLE Eliminators
Intro to Recursion | Harsh Gupta | Level 2 | TLE Eliminators
มุมมอง 8808 วันที่ผ่านมา
Check out our Level 2 course at www.tle-eliminators.com/courses/public/2. Last Few Slots left - book yours today! Classes start on 3rd August 2024. Learn the basics of Recursion! Recursion is a super important topic from coding perspective. Are you ready to take your coding skills to the next level? Our Level 2 course is designed for coders who can comfortably solve one problem in Codeforces Di...
Advanced Binary Search | Gaurish Baliga | Level 3 | TLE EliminatorsAdvanced Binary Search | Gaurish Baliga | Level 3 | TLE Eliminators
Advanced Binary Search | Gaurish Baliga | Level 3 | TLE Eliminators
มุมมอง 3.3K10 วันที่ผ่านมา
Check out our Level 3 course at www.tle-eliminators.com/courses/public/3. Last Few Slots left - book yours today! Classes start on 3rd August, 2024. Learn New Ideas On Binary Search! You might have not seen these ideas. Binary search at first looks like a very naive topic but it has some really powerful use cases. Looking to master complex CP problems? Our Level 3 course is tailored for those w...
Leetcode Weekly Contest 407 | Video Solutions - A to D | by Viraj Chandra| TLE EliminatorsLeetcode Weekly Contest 407 | Video Solutions - A to D | by Viraj Chandra| TLE Eliminators
Leetcode Weekly Contest 407 | Video Solutions - A to D | by Viraj Chandra| TLE Eliminators
มุมมอง 2.2K11 วันที่ผ่านมา
Here are the video solutions for problems A, B, C, D of Leetcode Weekly Contest 407. We hope this will be useful for you in up-solving this contest. 📢Check out handpicked problems by Priyansh himself, on our CP-31 sheet: www.tle-eliminators.com/cp-sheet Solution Codes: Problem 1: leetcode.com/problems/number-of-bit-changes-to-make-two-integers-equal/submissions/1328119616/ Problem 2: leetcode.c...
Codeforces Round 960 | Video Solutions - A to D | by Raghav Goel | TLE EliminatorsCodeforces Round 960 | Video Solutions - A to D | by Raghav Goel | TLE Eliminators
Codeforces Round 960 | Video Solutions - A to D | by Raghav Goel | TLE Eliminators
มุมมอง 2.9K11 วันที่ผ่านมา
Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D of Codeforces Round 960 (Div 2). The live discussion was done with students of TLE Eliminators, this is the recording of the same. We hope this will be useful for you in up-solving this contest. 📢Check out handpicked problems by Priyansh himself, on our CP-31 sheet: www.tle-eliminators.com/cp-sheet Sol...

ความคิดเห็น

  • @meetchudasama3787
    @meetchudasama3787 10 ชั่วโมงที่ผ่านมา

    very helpful and easily understood

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

    can anyone tell me which note taking app is he using ?

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

    B was so confusing 😢

    • @MATRIX-404
      @MATRIX-404 10 ชั่วโมงที่ผ่านมา

      hey do you find the explaination confusing ?

    • @sudhadevi6692
      @sudhadevi6692 10 ชั่วโมงที่ผ่านมา

      @@MATRIX-404 no the question bhaiya

    • @MATRIX-404
      @MATRIX-404 10 ชั่วโมงที่ผ่านมา

      @@sudhadevi6692 yeah agree!!

  • @kartiknagrale1479
    @kartiknagrale1479 13 ชั่วโมงที่ผ่านมา

    Ok

  • @TLE_Eliminators
    @TLE_Eliminators 13 ชั่วโมงที่ผ่านมา

    Learn from the best! TLE 11.0 offers live classes with top mentors. Join TLE 11.0 today at www.tle-eliminators.com 🚀🚀🚀

  • @TLE_Eliminators
    @TLE_Eliminators 13 ชั่วโมงที่ผ่านมา

    Please fill the Feedback form for PCD: forms.gle/55hH4bxtYXFmbwWu6

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

    Worst explaination

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

    -test- *comment*

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

    can anybody give me the explanation of c using stack...

    • @dhruvvarshney2805
      @dhruvvarshney2805 15 ชั่วโมงที่ผ่านมา

      #include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; while (t--) { int n; cin >> n; string s; cin >> s; int count = 0; stack<pair<char, int>> st; for (int i = 0; i < n; i++) { if (s[i] == '(') { st.push({'(', i}); } if (s[i] == '_') { if (!st.empty()) { int j = st.top().second; st.pop(); count += (i - j); } else st.push({'(', i}); } if (s[i] == ')') { int j = st.top().second; st.pop(); count += (i - j); } } cout<<count<<endl; } }

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

    D was cool. thank harsh

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

    Am I the only person who find it difficult to directly come up with state and transition like priyansh does?

  • @AnkanNayak-qz7cx
    @AnkanNayak-qz7cx วันที่ผ่านมา

    What website are you using as online board, pretty dope.

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

    nice explanation buddy

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

    Learn from the best! TLE 11.0 offers live classes with top mentors. Join TLE 11.0 today at www.tle-eliminators.com 🚀🚀🚀

    • @AyushKumar-ym1yl
      @AyushKumar-ym1yl 2 วันที่ผ่านมา

      please add time stamps it helps alot

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

    Please fill the Feedback form for PCD: forms.gle/Puc5UJri7p7gn7Nm6

    • @AyushKumar-ym1yl
      @AyushKumar-ym1yl 2 วันที่ผ่านมา

      please add time stamps it helps alot

  • @LakshyaSeth-dp8gp
    @LakshyaSeth-dp8gp 2 วันที่ผ่านมา

    bhaiya kya hum usaco k doubts bhi puch skte h. me ioi aspirant hu

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

      Yes, you can ask all coding doubts

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

    OG video!

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

    Understood!

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

    Excited

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

    I am from Bangladesh, how can I enroll in this course? I have no card so how can I pay?

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

    Gaurish OP 🔥

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

    what an explanation💥👏

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

    I am always able to solve A and solve level B like 50% of the time. Im not active on cf but have done 150+ leetcode problems and im good with all data structures except graphs and dp. Level 2 or level 3?

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

    Even I solve my questions on phone 😊 from cxx droid app

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

    Question C :- Failed on 2nd testcase Can anyone explain why this code is not working #include <bits/stdc++.h> using namespace std; #define int long long bool check(vector<int>& b) { for(int i : b) if(i != 0) return false; return true; } void sub(vector<int>& b, int diff) { for(int i=0;i<b.size();i++) b[i] = abs(b[i] - diff); } void solve(int n, vector<int>& b) { int cnt = 0; if(check(b)) { cout << 0 << endl; cout << endl; return; } vector<int> subs; for(int i=0;i<n-1;i++) { if(b[i] == b[i+1]) continue; if((b[i] + b[n-i-1]) % 2 == 0) { int avg = (b[i] + b[i+1]) / 2; subs.push_back(avg); sub(b, avg); cnt++; if(cnt > 40) break; } else break; } subs.push_back(b[0]); sub(b, b[0]); cnt++; if(check(b) && cnt <= 40) { cout << cnt << endl; for(int i : subs) cout << i << " "; } else { cout << -1 << endl; return; } cout << endl; } signed main() { #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif int t; cin >> t; while(t--) { int n; cin >> n; vector<int> b(n); for(int i=0;i<n;i++) cin >> b[i]; solve(n, b); } return 0; }

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

      I have also followed the same approach but the problem is that it may take more than 40 operations to complete the procedure while there is still valid solutions with less equal 40 ops.

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

    He will easily get hired into DE Shaw

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

    Form link to apply for the free slot: forms.gle/feKSPxSkDmwdSpZn7

  • @JIGARSINGTHAKOR-yy6qp
    @JIGARSINGTHAKOR-yy6qp 3 วันที่ผ่านมา

    Great Explanation but i need to grind more in order to tackle this type of questions.

  • @SahilKumar-sj6il
    @SahilKumar-sj6il 3 วันที่ผ่านมา

    nice explanation

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

    very good explaination.... keep working

  • @RohitKumar-cu2pf
    @RohitKumar-cu2pf 3 วันที่ผ่านมา

    Bhaiya i m new to Codeforces, but i have solved 300+ questions on leetcode and have a contest rating of 1750 on LC. Which course should I take ?

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

    should i take level 1 and level 2 both, is it manageable because i already know most of the concepts of both the levels just need to practice a bit more, and i think 3 months just for level 1 is too much. So should i buy the both?

  • @NiteshKumar-xm3nq
    @NiteshKumar-xm3nq 3 วันที่ผ่านมา

    how i can get free access to the courses ?

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

    Learn from the best! TLE 11.0 offers live classes with top mentors. Join TLE 11.0 today at www.tle-eliminators.com 🚀🚀🚀

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

    Please fill the Feedback form for PCD: forms.gle/BYwJLjRKemvRXBPj6

  • @AnilKumar-ev3ex
    @AnilKumar-ev3ex 3 วันที่ผ่านมา

    can you help in finding best dsa pattern questions so that oa clear ho jaye......because oa m alag level k hi question aate h..samjh nahi aata kaha se kru wese questions ki practice....if you have can you share it?..

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

    bhaia i have solved 180 question , able to solve div 2 a b , but my greedy and constructive , adhoc is not strong , but i have completed theory of these but lack in practise , should i join level 4 or level 3 ?

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

    Thank you so much for this in-depth content on OA tests, I just wanted to know do you prefer CSES/CP-31 for these tests as both contain non-standard problems ?

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

      Yes, both are good resources.

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

    thanks for the solutions

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

    bro press f7 to disable that cursor on clicking on webpage like at 23:59

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

    how are the cases handled when the entire rectangle itself is inside the circle.

  • @muin-u-ddinchishti6529
    @muin-u-ddinchishti6529 4 วันที่ผ่านมา

    Bhai love from Bangladesh. Bhai I also want to freely access your course .

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

    love from Bangladesh

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

    Forreal, everyone talking about interview prep when online coding assessments are harder and what you must pass first to get the technical interview

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

    The solution of problem D feels really weird as there is no systematic approach to come to the solution. What I say is, when the problem asks many different values of a quantity to choose which satisfy some particular conditions, while the constraints are just high that only greedy can be applied, in this case, can we think something like first calculate the the biggest chunk of the quantity at a particular higher value and then just distribute the remaining chunk in the lowest values possible?? Can we follow this greedy strategy in these type of situations?? You guys would have seen tons of these kind of problems so I just wanted your thoughts in this. As the greedy is mostly difficult to prove, so I'm asking if it works. Thanks.

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

    9:00 second question

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

    I used prefix sum array in q3 but it gave me tle in 10th last test case