L6. Odd Even Linked List | Multiple Approaches

  Рет қаралды 117,010

take U forward

take U forward

Күн бұрын

Пікірлер: 272
@Tanveermd7
@Tanveermd7 Жыл бұрын
if anyone is facing any issue with the while condition ie, while(even != NULL && even -> next != NULL) you can use instead, while(odd -> next != NULL && even -> next != NULL) i hope it helps you , happy coding.
@aayushraj7290
@aayushraj7290 8 ай бұрын
can u explain why cant I keep condition as while(even.next !=null), why to check if even is null or not..
@harshit.53
@harshit.53 7 ай бұрын
@@aayushraj7290 take an odd length LL and do the dry run of the code, you will understand why you need to check if even != NULL
@guttulavybhav1030
@guttulavybhav1030 5 ай бұрын
bro odd .next is nothing but even
@nachikettiwary5628
@nachikettiwary5628 Ай бұрын
@@guttulavybhav1030 no bro, odd.next is odd.next.next . So when you do odd.next , it will go to the next odd place. Hope it helps
@Mrindia-k8n
@Mrindia-k8n 13 күн бұрын
na man it's wrong sorry but the first one is correct and the perfect one well u can do one thing if u can say odd.next==evenhead if u include this condition with the first one it will be more accurate
@edisane8763
@edisane8763 Жыл бұрын
Great video just a small correction that it will be even = even.next Here's the full code for leetcode: ListNode* oddEvenList(ListNode* head) { if(head == NULL || head->next == NULL) return head; ListNode* odd = head; ListNode* even = head->next; ListNode* evenHead = head->next; while(even!=NULL && even->next!=NULL){ odd->next = odd->next->next; even->next = even->next->next; odd = odd->next; even = even->next; } odd->next = evenHead; return head; }
@NotNewton23
@NotNewton23 Жыл бұрын
just figured out and then found your comment 😅😅
@parvahuja7618
@parvahuja7618 11 ай бұрын
i was wondering the same
@_PRANAYMATE
@_PRANAYMATE 10 ай бұрын
Good job Bro
@shaikkhizar8133
@shaikkhizar8133 10 ай бұрын
Yes I agree with you
@imamansoni
@imamansoni 10 ай бұрын
Typo ke vajah se 2 baar video dekh liya mai 😂
@amangoyal8341
@amangoyal8341 9 ай бұрын
i can surely say that this is the best linkedList course of all time
@champ-kx9lb
@champ-kx9lb 5 ай бұрын
well explained! There is slight error in the brute force code that in while loop at the last line in loop even=even.next; so if anyone find its confusing can be helped from this.
@manishmahajan6094
@manishmahajan6094 5 ай бұрын
Marking my Day 21 of learning DSA. Thanks for the great course with clear in-depth explanation
@AmanSharma-xy1qm
@AmanSharma-xy1qm Жыл бұрын
All the video lectures and the articles helped me a lot to gain confidence in DSA and will be helping me in the interviews. Thank you Striver bhaiya for bringing such amazing content for free.
@touchskyfacts1391
@touchskyfacts1391 9 ай бұрын
Hlo bro ?? Have you given any interview yet? What are you currently doing?
@AmanSharma-xy1qm
@AmanSharma-xy1qm 9 ай бұрын
@@touchskyfacts1391 Yes i gave approx 7 interview and got selected in 3 of them, in one they were offering me QA engineer role due to different tech stacks so i denied, in 2 of them i choose the 2nd which was 4.5 LPA. In the beginning i wasn't good at DSA so i got rejected then i started Striver A to Z and learned String, Array, Matrix, LinkedList, Stacks, Queue and basic of advance DS. that was enough to get this.
@sourabhtiwari5137
@sourabhtiwari5137 9 ай бұрын
i dont know even a single thing about dsa, this is bcz of striver i got an amazing job, hats off to u
@ashmitshelke1444
@ashmitshelke1444 5 ай бұрын
I solved this with the optimal approch without looking at sol for the first time, thanks Striver for teaching all the intutions and logical process everytime
@faique509
@faique509 5 ай бұрын
was going to comment the same..i think we should do the dsa together..if you are interested let me know..or u can drop your insta..
@retromania526
@retromania526 4 ай бұрын
​@@faique509i cant build logic its tough to remember approaches
@CodeNinja18
@CodeNinja18 Жыл бұрын
one mistake even = even->next instead of even=even->next->next
@sanskarsawant6936
@sanskarsawant6936 Жыл бұрын
i was finding where this even.next.next is coming.... thanks for confirming
@ritochitghosh1753
@ritochitghosh1753 8 ай бұрын
@@sanskarsawant6936 Same
@THOSHI-cn6hg
@THOSHI-cn6hg 5 ай бұрын
exactly
@user-zv4cr5xd1g
@user-zv4cr5xd1g Ай бұрын
ty
@bhavyasharma3500
@bhavyasharma3500 Жыл бұрын
Raj bhai hats off to your dedication
@pushankarmakar1783
@pushankarmakar1783 9 ай бұрын
O(n/2) space complexity. i was wrong. it'll be O(n) because we need to consider the operations taking place twice inside the array
@__PiyushMittal
@__PiyushMittal Ай бұрын
Understood Bhaiya , And i still watching all of your videos till the End.
@nitishkumarram8978
@nitishkumarram8978 Жыл бұрын
0(n)time complexity, understood thank you striver bhaiya
@succesmantramotivational8795
@succesmantramotivational8795 10 ай бұрын
yesss
@shashamnk2525
@shashamnk2525 Жыл бұрын
We would need to check if head !=null before initializing even as head.next and while updating even , even.next should be good enough , even.next.next would land us on an odd node.
@NotNewton23
@NotNewton23 Жыл бұрын
hey guys, in the optimal solution, inside while loop, we have already set the next for both even and odd, so to go next even and odd use even= even->next ; odd= odd->next respectively I spend my 20-30 minutes realising this lol :)
@GODLUCIFER-m8d
@GODLUCIFER-m8d 4 ай бұрын
still i cant understand. could u help me to clear this i used chatbot and some stuffs still no use, i think my brain is twisted to understand this concept
@rumiNITPatna
@rumiNITPatna 22 күн бұрын
could u pls explain this.
@NotNewton23
@NotNewton23 22 күн бұрын
Sorry guys, I am not into coding field anymore and currently into other domain.
@rumiNITPatna
@rumiNITPatna 22 күн бұрын
@@NotNewton23 👍👍
@BharathMurugan30
@BharathMurugan30 9 күн бұрын
@@rumiNITPatna Since we perform the operation odd->next = odd->next->next , odd->next is already linked to the next odd place. So, if we want to move odd to the next position, it is odd->next, because odd->next is currently pointing to odd->next->next. If you still didn't understand, you can draw a linkedlist of four elements and try linking the elements with this operation
@ritikshandilya7075
@ritikshandilya7075 8 ай бұрын
Thanks for making our concepts clear Striver
@prathameshjadhav2942
@prathameshjadhav2942 10 ай бұрын
Understood... Superb bhaiya ❤
@saketjaiswal3431
@saketjaiswal3431 7 ай бұрын
understood.. guru jee... thanks to my senior who suggested me to go through your videos
@ketonesgaming1121
@ketonesgaming1121 Жыл бұрын
line even = even.next.next; inside the while loop. When updating the even pointer, you should check if even.next is not null before trying to access even.next.next. Small correction to be made
@chetandatta9051
@chetandatta9051 8 ай бұрын
Why is the time complexity O(n/2) * 2? It should be O(n/2) regardless of the number of operations performed inside the loop, right?
@harshitjaiswal9439
@harshitjaiswal9439 11 ай бұрын
Amazing explanation. Loved it.
@BhavyaJain-qz8jg
@BhavyaJain-qz8jg 6 ай бұрын
solved without watching, kudos to previous videos base creation !!
@zainiqbal7990
@zainiqbal7990 8 ай бұрын
What sincerity Striver. Respect Man
@snehashisratna9074
@snehashisratna9074 Жыл бұрын
love the way you teach
@rajmohitkumar3644
@rajmohitkumar3644 Жыл бұрын
Here is the java program class Solution { public ListNode oddEvenList(ListNode head) { //edge case if(head==null || head.next==null) return head; ListNode odd=head; ListNode even=head.next; ListNode evenHead=head.next; while(even !=null && even.next!=null){ odd.next=odd.next.next; even.next=even.next.next; odd=odd.next; even=even.next; } odd.next=evenHead; return head; } }
@striverdaaadi
@striverdaaadi Жыл бұрын
The great wall of dsa😍😍
@veedofficial
@veedofficial Жыл бұрын
I liked it first thnaks for the course you are the best
@Vvvvviieiei123
@Vvvvviieiei123 Жыл бұрын
lecture 6 done,love u bhaiya
@vaibhavgupta0901
@vaibhavgupta0901 10 ай бұрын
Understood thankyou so much striver
@samarthpai5359
@samarthpai5359 20 күн бұрын
The time complexity of the optimal solution is O(N/2) and space complexity is O(1) Edit: it was O(N)
@patilrajesh2500
@patilrajesh2500 Ай бұрын
Lecture successfully completed on 27/11/2024 🔥🔥
@nandeesh_2005
@nandeesh_2005 Жыл бұрын
Awesome❤ explanation guru...
@vishakhajoshi277
@vishakhajoshi277 Ай бұрын
Good explanation! Thanks :)
@PradipKumar-zi2pz
@PradipKumar-zi2pz 2 ай бұрын
We can have this approach as well. def oddEvenList(self, head: Optional[ListNode]) -> Optional[ListNode]: if head is None or head.next is None or head.next.next is None: return head odd = head even = head.next while even and even.next: temp = even.next.next oddnext = odd.next odd.next = even.next odd = even.next odd.next = oddnext even.next = temp even = temp return head
@lovetiwadiai9909
@lovetiwadiai9909 Жыл бұрын
i think even next should also be even.next rather than even.next.next
@souradeepchowdhury667
@souradeepchowdhury667 Жыл бұрын
yes, i think by mistake it is written
@tanay776
@tanay776 Жыл бұрын
you are right
@muwaffaqelbadawi
@muwaffaqelbadawi Жыл бұрын
You're absolutely correct!
@ravijha377
@ravijha377 Жыл бұрын
No it will be even->next->next only
@Raj-iw9hd
@Raj-iw9hd Жыл бұрын
@@ravijha377 can you explain why ?
@shaikkhizar8133
@shaikkhizar8133 10 ай бұрын
Time Complexity=O(N/2) Space Complexity=O(1) Thankyou for your Lecture
@diptanjankar9848
@diptanjankar9848 Жыл бұрын
Striver on 🔥
@ishanchakraborty69
@ishanchakraborty69 6 ай бұрын
just love your explaination
@saravanansubbiah164
@saravanansubbiah164 9 ай бұрын
Time complexity : O(N) -> because we're traversing the whole LL Space Complexity : O(1) -> we're not using any auxillary space for solving the problem.
@adebisisheriff159
@adebisisheriff159 11 ай бұрын
Thanks Striver!!!
@Tanveermd7
@Tanveermd7 Жыл бұрын
we need the article for rest of the linked list problems of A2Z sheet
@rushidesai2836
@rushidesai2836 9 ай бұрын
Time complexity O(n/2) because the while loop will run max of n/2 times.
@toushikbanik8452
@toushikbanik8452 5 ай бұрын
I got it but you should have done a dry run o an odd LL also. but no prob i did that by my self. great explanation bro.
@aronkumar-v8i
@aronkumar-v8i 10 ай бұрын
time complexity O 2(n/2) space O(1)
@oyeshxrme
@oyeshxrme 5 ай бұрын
great video bhaiya
@nptel1punith929
@nptel1punith929 7 ай бұрын
Understood bhaiya 🔥
@hardikpatel352
@hardikpatel352 7 ай бұрын
Thanks a lot striver, understood
@mhdvlogs2130
@mhdvlogs2130 3 ай бұрын
inside the while loop instead of even=even.next.next; it will be even=even.next; bcz we r setting/updating next even node so that next time loop run then we can connect this node next to the upcoming even node, that is (even.next=even.next.next;) thnk you ~~Mhd
@arnabkundu1648
@arnabkundu1648 6 ай бұрын
Time Complexity = O(N) As we are traversing through odd and even Nodes. Though it seems O(N/2) but in every loop we are traversing twice(for odd and for even indexed nodes), so Time Complexity will be O(N) I think. If I am wrong please point it out.
@jd1901-s
@jd1901-s 3 ай бұрын
OP explanation💯👌
@rajkumarvb5197
@rajkumarvb5197 Жыл бұрын
Undestood, thank you!
@adityalingwal6029
@adityalingwal6029 8 ай бұрын
Lovely Explanation
@shreyxnsh.14
@shreyxnsh.14 11 ай бұрын
Correct solution that beats 100%: class Solution { public: ListNode* oddEvenList(ListNode* head) { if(head==NULL || head->next==NULL) return head; ListNode* odd = head; ListNode* even = head->next; ListNode* evenHead = head->next; while(even!=NULL && even->next != NULL){ odd->next = odd->next->next; even->next = even->next->next; odd = odd->next; even = even->next; } odd->next = evenHead; return head; } }; Time complexity will be O(N) as we are traversing through each and every element
@rishabhbajpai648
@rishabhbajpai648 10 ай бұрын
UNDERSTOOD CLEARLY
@bhashasinha5839
@bhashasinha5839 6 ай бұрын
this is the java code * * class Solution { public ListNode oddEvenList(ListNode head) { if(head==null ||head.next==null){ return head; } ListNode odd=head; ListNode even=head.next; ListNode connector=head.next; while(even!=null && even.next!=null){ odd.next=odd.next.next; even.next=even.next.next; odd=odd.next; even=even.next; } odd.next=connector; return head; }
@nishigandhagirishdandekar1131
@nishigandhagirishdandekar1131 4 ай бұрын
I think it will be O(n) because we are traversing all the elements for even and odd.
@Harsh-jc2bz
@Harsh-jc2bz 4 ай бұрын
did it by myself Java: class Solution { public ListNode oddEvenList(ListNode head) { if(head==null)return head; ListNode odd=head; ListNode even=head.next,temp=even; while(temp!=null){ if(odd.next.next==null)break; odd.next=odd.next.next; odd=odd.next; temp.next=temp.next.next; temp=temp.next; } odd.next=even; return head; } }
@ankushladani496
@ankushladani496 11 ай бұрын
Thanks bhaiya...❤🎉
@akshathlm7849
@akshathlm7849 10 ай бұрын
Time Complexity O(N/2)
@Mighty_kaaju
@Mighty_kaaju 10 ай бұрын
great explanation
@yashendrabadal4776
@yashendrabadal4776 2 ай бұрын
Peak Content !
@arthonuy7211
@arthonuy7211 7 ай бұрын
can also be done using dummyNode method : ListNode* oddEvenList(ListNode* head) { if(head==NULL||head->next==NULL){ return head; } ListNode *temp=head; ListNode *dummyListNode=new ListNode(0); ListNode *evenTemp=dummyListNode; ListNode *prev=NULL; int count=1; while(temp!=NULL){ if(count&1){ prev=temp; temp=temp->next; }else{ prev->next=temp->next; temp->next=NULL; evenTemp->next=temp; evenTemp=evenTemp->next; temp=prev->next; } count++; } prev->next=dummyListNode->next; return head; }
@SurajKumar-ku1lg
@SurajKumar-ku1lg 8 ай бұрын
he knows where everyone make mistakes like o(n/2)
@MultiFacebookers
@MultiFacebookers 5 ай бұрын
Why do we need evenhead? Why can’t we make last odd point to head.next which will logically be first even position?
@LAVLESHSINGH-s1r
@LAVLESHSINGH-s1r 7 ай бұрын
actually there is prblem oocuring after writing evehead=head.next still it can t connect it to the even with last index of odd
@abhinavprabhat4418
@abhinavprabhat4418 Жыл бұрын
LC 328. // Naive solution class Solution { public: ListNode* oddEvenList(ListNode* head) { // naive solution is using a list to store the data vector arr; ListNode* temp = head; if(head ==NULL || head->next == NULL ) return head; while(temp!=NULL && temp->next!=NULL){ arr.push_back(temp->val); temp = temp->next->next; } if(temp) arr.push_back(temp->val); temp = head->next; while(temp!=NULL && temp->next!=NULL){ arr.push_back(temp->val); temp = temp->next->next; } if(temp) arr.push_back(temp->val); int i =0; temp = head; while(temp!=NULL){ temp->val = arr[i]; i++; temp = temp->next; } return head; } }; // optimised solution class Solution { public: ListNode* oddEvenList(ListNode* head) { if(head == NULL || head->next == NULL ) return head; ListNode* oddptr = head; ListNode* evenptr = head->next; ListNode* evenhead = head->next; while(evenptr !=NULL && evenptr->next!=NULL){ oddptr->next = oddptr->next->next; evenptr->next = evenptr->next->next; oddptr = oddptr->next; evenptr= evenptr->next; } oddptr->next = evenhead; return head; } };
@PradipKumar-zi2pz
@PradipKumar-zi2pz 2 ай бұрын
During DSA interview, can we use pen and paper to make approach? or will interviewer allow to use pen and paper ?
@viveksoni6823
@viveksoni6823 7 ай бұрын
why it's not working for using 2 loops separately for even and odd nodes.I wrote this ListNode* odd = head; ListNode* even = head->next; ListNode* evenhead = even; while(odd!=NULL && odd->next!=NULL && odd->next->next!=NULL) { odd->next = odd->next->next; odd = odd->next; } while(even!=NULL && even->next!=NULL && even->next->next!=NULL) { even->next = even->next->next; even = even->next; } odd->next = evenhead; return head;
@YourCodeVerse
@YourCodeVerse 11 ай бұрын
Understood✅🔥🔥
@nishant4595
@nishant4595 4 ай бұрын
was able to solve by optimal meself!
@stevie_wanders
@stevie_wanders Ай бұрын
What is the digital whiteboard that you use?
@abudanish196
@abudanish196 Жыл бұрын
💯CORRECTION:💯 even=even->next instead of even=even->next->next
@rohanlambar4725
@rohanlambar4725 9 ай бұрын
Time Complexity - O(n/2)
@nileshdesai5218
@nileshdesai5218 5 ай бұрын
Dude I had solved this que using convert LL into array and performed operation on array and at the end create new LL and return it.
@vedikamishra009
@vedikamishra009 Ай бұрын
that uses extra space
@k.manasaxi-c4622
@k.manasaxi-c4622 4 ай бұрын
if getting a runtime error , try out this : class Solution { public: ListNode* oddEvenList(ListNode* head) { if(head==NULL || head->next==NULL){ return head; } ListNode* odd=head; ListNode* even=head->next; ListNode* evenHead=even; while(even!=NULL && even->next!=NULL){ odd->next=even->next; odd=odd->next; even->next=odd->next; even=even->next; } odd->next=evenHead; return head; } };
@sunayanabhowmik9690
@sunayanabhowmik9690 5 ай бұрын
Also, without edge case we get runtime error: if(head == null || head.next == null) return head;
@harshitkhandelwal2661
@harshitkhandelwal2661 7 ай бұрын
We can also include another case if its only 2 element Linked List then also we do nothing
@Harsh-jc2bz
@Harsh-jc2bz 4 ай бұрын
class Solution { public ListNode oddEvenList(ListNode head) { if(head==null)return head; ListNode odd=head; ListNode even=head.next,temp=even; while(temp!=null){ if(odd.next.next==null)break; odd.next=odd.next.next; odd=odd.next; temp.next=temp.next.next; temp=temp.next; } odd.next=even; return head; } }
@santhoshl-zq1op
@santhoshl-zq1op 12 күн бұрын
thanks for this video
@056_harshitagarwal8
@056_harshitagarwal8 9 ай бұрын
where can I get java code Solution for this problem....it's not in description
@pankajsunal9819
@pankajsunal9819 9 ай бұрын
Understood.Thanks for the wonderful lecture.
@s_savarnaya
@s_savarnaya 7 ай бұрын
i have a doubt the odd = odd->next->next instead of odd=odd->next
@ManishLakkavatri
@ManishLakkavatri Жыл бұрын
Understood, but one small doubt ,why didn't we consider the operations in the while loop as unit operations?
@shreyxnsh.14
@shreyxnsh.14 11 ай бұрын
unit =1 and they are two operations
@shreyxnsh.14
@shreyxnsh.14 11 ай бұрын
also you can see that you are traversing through every single element.
@neerajmalhotra8277
@neerajmalhotra8277 9 күн бұрын
What software you are using for drawing?
@NazeerBashaShaik
@NazeerBashaShaik 8 ай бұрын
Understood, thank you.
@vidhiarora4995
@vidhiarora4995 5 ай бұрын
hey striver....what if the last node is an odd one? how will it justify that the odd is dependent on even?
@arjunk04
@arjunk04 4 ай бұрын
In this case even going to be null which is taken care by the condition specified in while loop
@jogeshsoni2205
@jogeshsoni2205 7 ай бұрын
in pseudo code of optimal approach , it should be even=even.next instead of even=even.next.next in while loop.
@ksnayeem2743
@ksnayeem2743 Ай бұрын
after linked why we write odd = odd.next but in even = even.next.next?
@square-kstudios9561
@square-kstudios9561 11 ай бұрын
Striver, is it even possible to run 2 separate loops? Because after running the first loop, the oddHead's next.next is not pointing to the next odd, but its pointing to the next even node (already altered in the first loop).
@anuragprasad6116
@anuragprasad6116 10 ай бұрын
no not possible
@hulkstar0808
@hulkstar0808 6 ай бұрын
Understood , Thank youu
@Aditya_6996
@Aditya_6996 8 ай бұрын
why not connect odd list with even list using "odd->next=head->next" instead of "odd->next=evenHead" ? I mean what would logically go wrong ?
@vipinms4864
@vipinms4864 8 ай бұрын
the link would already been updated. so odd->next would give you the third node instead of 2nd node
@Aditya_6996
@Aditya_6996 8 ай бұрын
​@@vipinms4864 yeah understood that already but thanks
@DeepakPatel-d5v
@DeepakPatel-d5v 9 ай бұрын
Thanks A lot Bhaiya
@hardikpatel352
@hardikpatel352 7 ай бұрын
TC = O(N)........... SC= O(1)
@fitnessforlifetamil3936
@fitnessforlifetamil3936 10 ай бұрын
Understood 🎉
@shubhamrathod9249
@shubhamrathod9249 11 күн бұрын
11:36
@ANNAM-dv5dy
@ANNAM-dv5dy Жыл бұрын
somene explain me my doubt ? odd->next = odd->next->next; even->next = even->next->next; odd = odd->next; even = even->next; here in this first 2 lines of code , odd pointer moves to odd places and even pointer moves to even places so that even connects to even and odd connects to odd , but in the next two lines odd pointer moves to one step ahead and also even pointer moves to one step ahead i.e odd moves to even and even moves to odd ...?
@pavanilakshmiaishwarya8962
@pavanilakshmiaishwarya8962 9 ай бұрын
Yeah it is wrong in the video. It has to be: odd->next = odd->next->next even->next = odd->next->next odd = odd->next even = even->next
@TON-108
@TON-108 Жыл бұрын
How can we do this using two while loops, one for even and one for odd?? I'm getting Runtime error!!
@pravinthakur7791
@pravinthakur7791 9 ай бұрын
Node* segregateEvenOdd(Node* head) { // Write your code here if(head == nullptr || head->next == nullptr) return head; stackst; Node* temp = head; Node* prev = nullptr; Node* firstOddNode = nullptr; if((temp->data & 1) == 0) st.push(temp); while(temp != nullptr) { if((temp->data & 1) == 0 && prev != nullptr) { st.push(temp); while(temp->next != nullptr && (temp->next->data & 1) == 0) { st.push(temp->next); temp = temp->next; } prev->next = temp->next; } if((temp->data&1) && firstOddNode == nullptr) firstOddNode = temp; prev = temp; temp = temp->next; } Node* lastEvenNode = nullptr; Node* newHead = nullptr; while(!st.empty()) { if (newHead == nullptr) { newHead = st.top(); lastEvenNode = st.top(); } else { st.top()->next = newHead; newHead = st.top(); } st.pop(); } lastEvenNode->next = firstOddNode; return newHead; }
@moksh7130
@moksh7130 3 ай бұрын
Understood sir! :D
@thisisRandom-ut9iq
@thisisRandom-ut9iq 11 ай бұрын
Java code public ListNode oddEvenList(ListNode head) { if(head == null || head.next == null){ return head; } ListNode first = head; ListNode second = head.next; ListNode secondHead = second; while(second != null && second.next != null){ first.next = first.next.next; first = first.next; second.next = second.next.next; second = second.next; } first.next = secondHead ; return head; }
@DhanushS-we6ql
@DhanushS-we6ql 3 ай бұрын
small coreetcion while even node is pointing to even = even->next;
L7. Sort a LinkedList of 0's, 1's and 2's | Multiple Approaches
23:23
take U forward
Рет қаралды 88 М.
L8. Remove Nth Node from the end of the LinkedList | Multiple Approaches
16:23
How to have fun with a child 🤣 Food wrap frame! #shorts
0:21
BadaBOOM!
Рет қаралды 17 МЛН
Почему Катар богатый? #shorts
0:45
Послезавтра
Рет қаралды 2 МЛН
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
LeetCode was HARD until I Learned these 15 Patterns
13:00
Ashish Pratap Singh
Рет қаралды 714 М.
one year of studying (it was a mistake)
12:51
Jeffrey Codes
Рет қаралды 93 М.
L10. Check if a LinkedList is Palindrome or Not | Multiple Approaches
20:02
I Redesigned the ENTIRE YouTube UI from Scratch
19:10
Juxtopposed
Рет қаралды 1 МЛН
L25. Merge K Sorted Lists | Multiple Approaches
30:02
take U forward
Рет қаралды 57 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 17 М.
How to Start LeetCode from ZERO in 2025
11:31
Ashish Pratap Singh
Рет қаралды 57 М.
8 patterns to solve 80% Leetcode problems
7:30
Sahil & Sarra
Рет қаралды 483 М.
L13. Find the middle element of the LinkedList | Multiple Approaches
14:37
How to have fun with a child 🤣 Food wrap frame! #shorts
0:21
BadaBOOM!
Рет қаралды 17 МЛН