- 300
- 1 377 300
TLE Eliminators - by Priyansh
India
Приєднався 18 чер 2021
Welcome to the official UA-cam channel of TLE Eliminators. We are committed to helping beginners and intermediates start and excel in their competitive programming journey.
On this channel, we offer video solutions to CP contests from Codeforces, Codechef, Leetcode, and Atcoder, helping countless individuals in upsolving contests. You'll also find a wealth of insightful content, including a DP series, CP tricks, and other informative videos on Competitive Programming.
Our competitive programming course is divided into four difficulty levels, which include live theory classes and daily curated practice problems, each with a dedicated video solution to build your intuition and consistency.
One of our most loved features is our Instant Doubt Support, provided by top competitive programmers in India. Whether you're stuck on a problem from the course or an external one, we’re here to help.
Join us and take the next step in your competitive programming journey!
On this channel, we offer video solutions to CP contests from Codeforces, Codechef, Leetcode, and Atcoder, helping countless individuals in upsolving contests. You'll also find a wealth of insightful content, including a DP series, CP tricks, and other informative videos on Competitive Programming.
Our competitive programming course is divided into four difficulty levels, which include live theory classes and daily curated practice problems, each with a dedicated video solution to build your intuition and consistency.
One of our most loved features is our Instant Doubt Support, provided by top competitive programmers in India. Whether you're stuck on a problem from the course or an external one, we’re here to help.
Join us and take the next step in your competitive programming journey!
Leetcode Biweekly Contest 144 | Video Solutions - A to D | by Viraj Chandra | TLE Eliminators
TLE 12.0 - our Competitive Programming course TLE 12.0 is live!
Enrol now at www.tle-eliminators.com/?referralCode=F0362968
Here are the video solutions in the form of a post-contest discussion for Leetcode Biweekly Contest 144. We hope this will be useful for you in up-solving this contest.
Solution Codes:
Stone Removal Game leetcode.com/problems/stone-removal-game/submissions/1461440472/
Shift Distance Between Two Strings leetcode.com/problems/shift-distance-between-two-strings/submissions/1461441359/
Zero Array Transformation III leetcode.com/problems/zero-array-transformation-iii/submissions/1461441206/
Find the Maximum Number of Fruits Collected leetcode.com/problems/find-the-maximum-number-of-fruits-collected/submissions/1461441103/
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:-
00:00 Stone Removal Game
08:55 Shift Distance Between Two Strings
46:28 Zero Array Transformation III
1:17:48 Find the Maximum Number of Fruits Collected
Enrol now at www.tle-eliminators.com/?referralCode=F0362968
Here are the video solutions in the form of a post-contest discussion for Leetcode Biweekly Contest 144. We hope this will be useful for you in up-solving this contest.
Solution Codes:
Stone Removal Game leetcode.com/problems/stone-removal-game/submissions/1461440472/
Shift Distance Between Two Strings leetcode.com/problems/shift-distance-between-two-strings/submissions/1461441359/
Zero Array Transformation III leetcode.com/problems/zero-array-transformation-iii/submissions/1461441206/
Find the Maximum Number of Fruits Collected leetcode.com/problems/find-the-maximum-number-of-fruits-collected/submissions/1461441103/
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:-
00:00 Stone Removal Game
08:55 Shift Distance Between Two Strings
46:28 Zero Array Transformation III
1:17:48 Find the Maximum Number of Fruits Collected
Переглядів: 1 223
Відео
Leetcode Weekly Contest 424 | Video Solutions - A to D | by Viraj Chandra | TLE Eliminators
Переглядів 4,1 тис.День тому
TLE 12.0 - our Competitive Programming course TLE 12.0 is live! Enrol now at www.tle-eliminators.com/login?referralCode=F0362968 Here are the video solutions for problems A, B, C, D of Leetcode Weekly Contest 424. 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...
Codeforces Round 987 (Div 2) | Video Solutions - A to E | by Gaurish Baliga | TLE Eliminators
Переглядів 3,9 тис.День тому
TLE 12.0 - our Competitive Programming course TLE 12.0 is live! Enrol now at www.tle-eliminators.com/login?referralCode=60B8E114 Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D, E of Codeforces Round 987. 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-solvin...
Codechef Starters 160 | Video Solutions - A to E | by Raghav Goel | TLE Eliminators
Переглядів 3,2 тис.14 днів тому
TLE 12.0 - our Competitive Programming course TLE 12.0 is live! Enrol now at www.tle-eliminators.com Here are the video solutions in the form of a post-contest discussion for problems A, B, C, E of Codechef Starters 160 (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...
Codeforces Round 986 (Div 2) | Video Solutions - A to D | by Abhinav Kumar | TLE Eliminators
Переглядів 4 тис.14 днів тому
TLE 12.0 - our Competitive Programming course TLE 12.0 is live! Enrol now at www.tle-eliminators.com Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D of Codeforces Round 986. 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. Solution Codes:...
Codeforces Round 985 (Div 1 + 2) | Video Solutions - A to E | by Abhinav Kumar | TLE Eliminators
Переглядів 2,5 тис.14 днів тому
TLE 12.0 - our Competitive Programming course TLE 12.0 is live! Enrol now at www.tle-eliminators.com Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D, E of Codeforces Round 985. 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. Solution Cod...
Codechef Starters 159 | Video Solutions - A to H | by Raghav Goel | TLE Eliminators
Переглядів 3,9 тис.21 день тому
Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D, E, F, G, H of Codechef Starters 159 (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...
Codeforces Round 984 (Div 3) | Video Solutions - A to G | by Abhinav Kumar | TLE Eliminators
Переглядів 6 тис.21 день тому
Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D, E, F, G of Codeforces Round 984. 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...
Codeforces Round 983 (Div 2) | Video Solutions - A to D | by Gaurish Baliga | TLE Eliminators
Переглядів 6 тис.21 день тому
Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D of Codeforces Round 983. 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 Cod...
Educational Codeforces Round 171 | Video Solutions - A to D | by Abhinav Kumar | TLE Eliminators
Переглядів 4,9 тис.28 днів тому
Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D of Educational Codeforces Round 171. 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...
Codeforces Global Round 27 | Video Solutions - A to D | by Abhinav Kumar | TLE Eliminators
Переглядів 3,8 тис.Місяць тому
Here are the video solutions in the form of a post-contest discussion for problems A, B, C, D of Codeforces Global Round 27. 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 Solut...
Codeforces Round 982 (Div 2) | Video Solutions - A to D1 | by Harsh Gupta | TLE Eliminators
Переглядів 4,8 тис.Місяць тому
Codeforces Round 982 (Div 2) | Video Solutions - A to D1 | by Harsh Gupta | TLE Eliminators
Codeforces Round 981 (Div 3) | Video Solutions - A to F | by Abhinav Kumar | TLE Eliminators
Переглядів 7 тис.Місяць тому
Codeforces Round 981 (Div 3) | Video Solutions - A to F | by Abhinav Kumar | TLE Eliminators
Codechef Starters 157 | Video Solutions - A to G | by Raghav Goel | TLE Eliminators
Переглядів 4,1 тис.Місяць тому
Codechef Starters 157 | Video Solutions - A to G | by Raghav Goel | TLE Eliminators
Everything about ICPC India Regionals 2024 | Gaurish Baliga | TLE Eliminators
Переглядів 5 тис.Місяць тому
Everything about ICPC India Regionals 2024 | Gaurish Baliga | TLE Eliminators
Codeforces Round 980 (Div 2) | Video Solutions - A to D | by Gaurish Baliga | TLE Eliminators
Переглядів 8 тис.Місяць тому
Codeforces Round 980 (Div 2) | Video Solutions - A to D | by Gaurish Baliga | TLE Eliminators
Codechef Starters 156 | Video Solutions - A to H | by Raghav Goel | TLE Eliminators
Переглядів 4,9 тис.Місяць тому
Codechef Starters 156 | Video Solutions - A to H | by Raghav Goel | TLE Eliminators
Educational Codeforces Round 170 | Video Solutions - A to E | by Abhinav Kumar | TLE Eliminators
Переглядів 6 тис.Місяць тому
Educational Codeforces Round 170 | Video Solutions - A to E | by Abhinav Kumar | TLE Eliminators
Codeforces Round 978 (Div 2) | Video Solutions - A to D1 | by Gaurish Baliga | TLE Eliminators
Переглядів 4,8 тис.Місяць тому
Codeforces Round 978 (Div 2) | Video Solutions - A to D1 | by Gaurish Baliga | TLE Eliminators
Codechef Starters 155 | Video Solutions - A to F | by Harsh Gupta | TLE Eliminators
Переглядів 4,2 тис.Місяць тому
Codechef Starters 155 | Video Solutions - A to F | by Harsh Gupta | TLE Eliminators
Codeforces Round 977 (Div 2) | Video Solutions - A to C1 | by Harsh Gupta | TLE Eliminators
Переглядів 5 тис.Місяць тому
Codeforces Round 977 (Div 2) | Video Solutions - A to C1 | by Harsh Gupta | TLE Eliminators
Codechef Starters 154 | Video Solutions - A to D | by Gaurish Baliga | TLE Eliminators
Переглядів 4 тис.Місяць тому
Codechef Starters 154 | Video Solutions - A to D | by Gaurish Baliga | TLE Eliminators
Codeforces Round 976 (Div 2) | Video Solutions - A to E | by Gaurish Baliga | TLE Eliminators
Переглядів 8 тис.Місяць тому
Codeforces Round 976 (Div 2) | Video Solutions - A to E | by Gaurish Baliga | TLE Eliminators
Codeforces Round 975 (Div 2) | Video Solutions - A to C | by Harsh Gupta | TLE Eliminators
Переглядів 6 тис.2 місяці тому
Codeforces Round 975 (Div 2) | Video Solutions - A to C | by Harsh Gupta | TLE Eliminators
Codechef Starters 153 | Video Solutions - A to D | by Harsh Gupta | TLE Eliminators
Переглядів 3,4 тис.2 місяці тому
Codechef Starters 153 | Video Solutions - A to D | by Harsh Gupta | TLE Eliminators
Leetcode Weekly Contest 416 | Video Solutions - A to D | by Raghav Goel | TLE Eliminators
Переглядів 4,4 тис.2 місяці тому
Leetcode Weekly Contest 416 | Video Solutions - A to D | by Raghav Goel | TLE Eliminators
Codeforces Round 974 (Div 3) | Video Solutions - A to F | by Abhinav Kumar | TLE Eliminators
Переглядів 7 тис.2 місяці тому
Codeforces Round 974 (Div 3) | Video Solutions - A to F | by Abhinav Kumar | TLE Eliminators
Meta Hacker Cup 2024 || Everything You Need to Know by Anikate Koul || TLE Eliminators
Переглядів 6 тис.2 місяці тому
Meta Hacker Cup 2024 || Everything You Need to Know by Anikate Koul || TLE Eliminators
Codeforces Round 973 (Div 2) | Video Solutions - A to D | by Raghav Goel | TLE Eliminators
Переглядів 6 тис.2 місяці тому
Codeforces Round 973 (Div 2) | Video Solutions - A to D | by Raghav Goel | TLE Eliminators
Codechef Starters 152 | Video Solutions - A to D2 | by Abhinav Kumar | TLE Eliminators
Переглядів 2,9 тис.2 місяці тому
Codechef Starters 152 | Video Solutions - A to D2 | by Abhinav Kumar | TLE Eliminators
Thanks for the video solution. The above code for Problern C was failing the test case when N = 7 and queries = [1, 4], [1,3], [1,5 The expected output is [4, 4, 3], but the actual output is [4, 4, 2]. I figured out what was going wrong with that solution. We were also counting the already deleted nodes we were only supposed to count the non deleted nodes between queries[i][0] and queries[i][1]. We have to just add one condition while counting which is make sure that it was not deleted. Thanks to TLE Eleminators, I really enjoy watching your videos.
for problem c , there will be z which maybe fraction of y isn't it? , and after a certain number there will be always a possibility of y%(x xor y)==0 , as msb of both will be equal , isn't it?
What IDE did you use? I assume that you're using a Mac machine.
I use VS Code (with vim)
c question was too cute, thanks for explaining
literally the best bitwise video, clear and straight to the point, thanks a lot.
I'm proficient in java... Don't want to go with cpp
goat
Can anyone help me ?? Why this code is not working Q: MINIMUM ARRAY SUM class Solution { public: int recursive(vector<int>& nums, int k, int op1, int op2, bool choice1, bool choice2, int count1, int count2, int index) { if (index >= nums.size()) { return 0; } int option_1 = INT_MAX; if (!choice1 && count1 < op1) { option_1 = ceil(nums[index] / 2.0) + recursive(nums, k, op1, op2, true, choice2, count1 + 1, count2, index); choice1=false; } int option_2 = INT_MAX; if (!choice2 && count2 < op2 && nums[index]>=k) { option_2 = (nums[index] -k) + recursive(nums, k, op1, op2, choice1, true, count1, count2 + 1, index); choice2=false; } int no_option = nums[index] + recursive(nums, k, op1, op2,false,false,count1,count2, index + 1); return min(no_option, min(option_1, option_2)); } int minArraySum(vector<int>& nums, int k, int op1, int op2) { return recursive(nums, k, op1, op2, false, false, 0, 0, 0); } };
i would suggest one thing while wrttingggg the title of video A to D you should also mention the question number as many people search question with the question no. like solution of leetcode 3361
Can i talk with you
can someone explain the correct mathematical approach for problem B instead of binary search?
great explaination
great explanation sir
great
do you have code for the problem D
It's in description
bro easily said C is easy , now it will take me hours to digest this question !!
Your number please
codecheff ka dalo
Nice explanation In problem c1, would iterating over the min (m ,smallest power of 2 greater than x ) also work?
yeah that should also work
Yes it will
Thankss sir 🫡
SIR thanks you for Biweekly
TLE 12.0 - our Competitive Programming course TLE 12.0 is live! Enrol now at www.tle-eliminators.com Please fill the Feedback form for PCD: forms.gle/yJ4SJ6hikHeN3aG1A
TLE 12.0 - our Competitive Programming course TLE 12.0 is live! Enrol now at www.tle-eliminators.com Please fill the Feedback form for PCD: forms.gle/rryVKQ5VVTo9kvK1A
apart from the dp logic, I really loved the way of writing code in Q3. Where to learn these intricacies of lambda functions?
Just search about it and learn, it's not a big deal man!
@ Yeah already done. Forgot to come back here and mention so.
@@Virtualexist Cool! But I would advise to don't use lambda functions in interviews.
@ Not needed.
TLE 12.0 - our Competitive Programming course TLE 12.0 is live! Enrol now at www.tle-eliminators.com Please fill the Feedback form for PCD: forms.gle/xFQ8pumGQP2qUaGw6
Why a vis vector is even required ?
No one can explain like you. Great explanation of c. <3
This is really insane.Really helpful.
Will this sweep line work if we have to take xor rather than decrementing.
Very clear explanation.Thanks for making this video
Such a mind-blowing technique. Thanks for such a nice explanation ❤
I never usually comment but this content on graph is on fire🥶
Pls upload codeshef editorial
Where's div3 and codechef editorial?
The last problem solution is not getting accepted in LeetCode.
Updated the problem in description.
thanks :)
Loved the Explaination
Pls upload solutions for Codeforces 988 div 3
was stuck on D and you explained it nicely
In 4th question, in checker function you missed one case when abs(y - x) > max_diff: there we have to keep all x or all y for continuous -1's. [2,-1,4,-1,-1,6] -> [2,3,4,5,5,6]
Updated the problem in description.
There is a fault in your code for the 4th question . Leetcode added one more edge case "2,-1,4,-1,-1,6" and will be 1 and sir your code gives us 2 .
Updated the problem in description.
The code for 4th problem is now failing for this testcase, so something wrong with the approach? [2,-1,4,-1,-1,6] Output: 2 Expected: 1
Updated the problem in description.
Very Helpful, Small video but very efficient..
the bullet example was great i immediately got why we are doing the process after that example