Leetcode Weekly Contest 404 | Video Solutions - A to D | by Abhinav Kumar | TLE Eliminators

  Рет қаралды 2,799

TLE Eliminators - by Priyansh

TLE Eliminators - by Priyansh

Күн бұрын

Here are the video solutions for problems A, B, C, D of Leetcode Weekly Contest 404. 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/maximum...
Problem 2: leetcode.com/problems/find-th...
Problem 3: leetcode.com/problems/find-th...
Problem 4: leetcode.com/problems/find-mi...
Problem 4(using Re-rooting) : leetcode.com/problems/find-mi...
Be sure to check out TLE Eliminators.
Website: www.tle-eliminators.com/
Instagram: / tle_eliminators
Linkedin: / tle-eliminators
Twitter: / tle_eliminators
TLE Community Discord Server: / discord
Timestamps:-
0:00 Problem A
13:30 Problem B
33:39 Problem C
1:09:14 Problem D

Пікірлер: 30
@TLE_Eliminators
@TLE_Eliminators Күн бұрын
Please fill the feedback form: forms.gle/eEietfsYMzQGMeX47
@SankalpTyagi
@SankalpTyagi Күн бұрын
Can someone please provide a Recursion + Memoization Code for the third 3rd problem. It would be really helpful!!
@user-tj8xi4xi8k
@user-tj8xi4xi8k Күн бұрын
Very niceely explained sir thanks
@user-hy2qe4ov7q
@user-hy2qe4ov7q Күн бұрын
wasted the contest only for problem 1. while reading it felt easy when solving it got me.
@user-ym1nv1pw8i
@user-ym1nv1pw8i Күн бұрын
Did the same mistake : ( In reality first problem should be marked medium while second problem should be marked easy!
@devisriprasad119
@devisriprasad119 Күн бұрын
47:38 from here it was hard to understand
@tamimdewan4111
@tamimdewan4111 Күн бұрын
Sir , very nicely and throughly explained . Thanks a lot ❤
@yogenderkumar3319
@yogenderkumar3319 Күн бұрын
Question 3 is really depth of numbers😢f
@rahulkumarbehera8269
@rahulkumarbehera8269 Күн бұрын
Sir ji plz use a good mic.
@anonymous10906
@anonymous10906 21 сағат бұрын
nice explanation for c
@roshangeorge97
@roshangeorge97 Күн бұрын
explanation of 2nd was to the point!
@pythagoras31416
@pythagoras31416 Күн бұрын
When the new batch of TLE eliminators will start??
@user-ti7jb6xp4n
@user-ti7jb6xp4n Күн бұрын
how to think dp states but
@Rajan-xv9cz
@Rajan-xv9cz Күн бұрын
pls improve explination
@A_Myth963
@A_Myth963 Күн бұрын
I was able to write the recursive code for 2nd... But wasn't able to memoise it
@adarshamit3503
@adarshamit3503 17 сағат бұрын
can u send me the recursive code
@A_Myth963
@A_Myth963 15 сағат бұрын
@@adarshamit3503 class Solution { public: int calc(vector&nums,int i,int comp,int k){ if(i == 0) return 0; //cases if(k == 2){ int take1 = 1 + calc(nums,i-1,nums[i-1],0); int take2 = 1 + calc(nums,i-1,nums[i-1],1); int nott = calc(nums,i-1,0,2); return max(take1,max(take2,nott)); } else if((nums[i-1]+comp) % 2 == k){ return 1 + calc(nums,i-1,nums[i-1],k); }else return calc(nums,i-1,comp,k); } int maximumLength(vector& nums) { int n = nums.size(); return calc(nums,n,0,2); } };
@mohitkukreja4531
@mohitkukreja4531 22 сағат бұрын
explanation was very bad...i think you are explaining to someone who had a same thinking like you..but you are explaining to someone who dont understand the logic thats why they came here...
@shibainu7500
@shibainu7500 Күн бұрын
Please use a real mic instead of a potato
@Munnu-hs6rk
@Munnu-hs6rk Күн бұрын
bro its fine
@NotFound-c2b
@NotFound-c2b Күн бұрын
Maybe u can try using a real headphone instead of a tomato. 🍅
@roshangeorge97
@roshangeorge97 Күн бұрын
@@NotFound-c2b yo 💀🤣
@user-ym1nv1pw8i
@user-ym1nv1pw8i Күн бұрын
Great Explanation but bad mic
@Ayush37262
@Ayush37262 Күн бұрын
Very bad explanation 👎
@akashpandit7593
@akashpandit7593 Күн бұрын
Bro, can't you speak Hindi? Obviously our national language is Hindi. You will get more views and more subscribers and more recognition. Think about it..
@vishnuamit7290
@vishnuamit7290 Күн бұрын
bhai kisne bola national lang hindi hai...? Gk bhi nhi jante tm ?
@akashpandit7593
@akashpandit7593 Күн бұрын
@@vishnuamit7290 National nahi but official language toh hai, bhavana samjho bhai...
@vishnuamit7290
@vishnuamit7290 Күн бұрын
@@akashpandit7593 haa..voh toh hai !
How I would learn Leetcode if I could start over
18:03
NeetCodeIO
Рет қаралды 283 М.
Codeforces Round 955 | Video Solutions - A to D | by Abhinav Kumar | TLE Eliminators
1:48:42
TLE Eliminators - by Priyansh
Рет қаралды 4,8 М.
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 63 МЛН
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 6 МЛН
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 25 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 14 МЛН
8 patterns to solve 80% Leetcode problems
7:30
Sahil & Sarra
Рет қаралды 209 М.
Leetcode Weekly Contest 399 | Video Solutions - A to D | by Raghav Goel | TLE Eliminators
1:23:04
Returning with a win in Leetcode Biweekly 133!!!
17:05
Joshua Chen
Рет қаралды 2 М.
DARKER SIDE of SOFTWARE ENGINEERING !!
12:09
Striver
Рет қаралды 109 М.
Doing LeetCode Be Like (Coding Interviews Be Like Pt. 2)
4:41
Nicholas T.
Рет қаралды 745 М.
❌ Don't Run Behind 500 LEETCODE Problems ❌ Focus on QPCD
8:31
Why Is C SO Dangerous?  #programming #coding #lowcode
0:51
Low Level Learning
Рет қаралды 2 МЛН
How I Beat Vidit
9:41
Hans Niemann
Рет қаралды 6 М.
Codeforces Global Round 26 | Video Solutions - A to D | by Abhinav Kumar | TLE Eliminators
1:46:18
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 63 МЛН