No video

L13. Find the middle element of the LinkedList | Multiple Approaches

  Рет қаралды 45,879

take U forward

take U forward

Күн бұрын

Problem Link: tinyurl.com/ykfyj5cd
Entire LL Sheet: takeuforward.org/linked-list/...
Check our A2Z DSA Course: takeuforward.org/strivers-a2z...
Please do give us a like, and subscribe to us if you are new to our channel.
Do follow us on our socials: linktr.ee/takeuforward

Пікірлер: 53
@yashsherekar7148
@yashsherekar7148 7 ай бұрын
please make similar playlist on string data structure with such vast variety
@BhanuPratapSinghRajawat-iz2tf
@BhanuPratapSinghRajawat-iz2tf 8 ай бұрын
at 12:51 in pseudo code of tortoise and hare algo fast should move two step just telling so that no one confuses else am not that capable that i can find out ur mistakes
@user-ns7tu5no1i
@user-ns7tu5no1i 2 ай бұрын
you re right i came to comment this out but you ve done it much before i m going to
@randalthor69
@randalthor69 4 күн бұрын
chill dude nobody's thinking that
@Rahulkumar-cg8rh
@Rahulkumar-cg8rh 2 ай бұрын
at 12:53, just correct fast as fast = fast->next->next, rest is aweasome .......
@KartikeyTT
@KartikeyTT 3 ай бұрын
Bro this video deserves a lot more that just 844 likes. Everyone please do your part.
@trailblazer555
@trailblazer555 5 ай бұрын
Understood well..Thanks Striver!!!
@dogwoofwoof8154
@dogwoofwoof8154 2 ай бұрын
slow and fast pointer concept was awesome
@parul8334
@parul8334 8 ай бұрын
Love u sir 💕 thanks for ur efforts 💓 please keep it up , u are very intelligent 🤓
@selene8721
@selene8721 3 ай бұрын
Thank you so much striver!!
@hareshnayak7302
@hareshnayak7302 3 ай бұрын
Understood, Thanks striver for thia amazing video.
@shrutishukla6336
@shrutishukla6336 3 ай бұрын
Amazing Explanation.
@CS-RubavathyMR
@CS-RubavathyMR 5 ай бұрын
your explanation is great for understanding the problem. Thank you bro❤
@anuplohar23
@anuplohar23 5 ай бұрын
Great Explanation ❤
@ddevarapaga5134
@ddevarapaga5134 18 күн бұрын
Understood bhai Thank you
@nirajchanekar
@nirajchanekar 4 ай бұрын
love u brother, Great Explanation ❤
@user-tk2vg5jt3l
@user-tk2vg5jt3l 5 ай бұрын
Thank you bhaiya
@_CodeLifeChronicles_
@_CodeLifeChronicles_ 2 ай бұрын
great explanation
@user-ke7fs7ds6h
@user-ke7fs7ds6h 7 ай бұрын
awesome content
@ssss1234aaaa
@ssss1234aaaa 6 ай бұрын
Please make playlist on string very much needed.
@user-or5oz1pk2x
@user-or5oz1pk2x 3 ай бұрын
Thanks a lot
@vinaynegi8454
@vinaynegi8454 9 күн бұрын
love you bro ,
@user-dv1ts9db8i
@user-dv1ts9db8i 6 ай бұрын
UNDERSTOOD SIR
@knowthrvdo
@knowthrvdo 5 ай бұрын
NICE LECTURE AND PLZ UPLOAD REMAINING LECTURES OF A TO Z SDA SHEET PLZ THEY ARE VERY HELPFULL FOR US
@YourCodeVerse
@YourCodeVerse 6 ай бұрын
Understood✅🔥🔥
@Deena_Bandhu
@Deena_Bandhu 7 ай бұрын
rhank you bhayya
@084abhigna_y8
@084abhigna_y8 4 ай бұрын
Thnak you
@malaykhakhar
@malaykhakhar 6 ай бұрын
Great
@vattiyeshwanth282
@vattiyeshwanth282 2 ай бұрын
is it ok? to not come up with the optimal solution , but understood very well after learning.
@NARUTOUZUMAKI-bk4nx
@NARUTOUZUMAKI-bk4nx 6 ай бұрын
Understooood
@VibhaJamadagni-hz6ck
@VibhaJamadagni-hz6ck Ай бұрын
understood
@MJBZG
@MJBZG 25 күн бұрын
good algo
@himanshidafouty347
@himanshidafouty347 Ай бұрын
Understood
@harshitjaiswal9439
@harshitjaiswal9439 6 ай бұрын
understood.
@rushidesai2836
@rushidesai2836 3 ай бұрын
Nice
@rockstarCoolz
@rockstarCoolz Ай бұрын
Sir in both we can do n/2 ...and point front=temp->next
@priyotoshsahaThePowerOf23
@priyotoshsahaThePowerOf23 18 күн бұрын
Striver , at 12:49 please change it to fast->next->next;
@Adarsh_agrahari
@Adarsh_agrahari 3 ай бұрын
Today i give the same sol in the class
@therealartist9
@therealartist9 6 ай бұрын
can someone pls write the code for the fast and slow logic in vs code i am completely unable to write that logic in the vs code
@swapnilpawar8487
@swapnilpawar8487 5 ай бұрын
#include using namespace std; class Node{ public: int data; Node* next; }; class linkedList{ public: Node* head; linkedList(){ head=nullptr; } void append(int data){ Node* newNode =new Node(); newNode->data=data; newNode->next=nullptr; if(head==nullptr) head=newNode; else{ Node* p=head; while(p->next !=nullptr){ p=p->next; } p->next=newNode; } } Node* middleNode(){ Node* slow=head; Node* fast=head; while(fast != nullptr && fast->next != nullptr){ slow = slow->next; fast= fast->next->next; } return slow; } }; int main(){ int A[]={12,43,23,86,64,3,56,7,577,10}; int n=sizeof(A)/sizeof(A[0]); linkedList MyList; for(int i=0;i
@iamnoob7593
@iamnoob7593 5 ай бұрын
US
@kalabanki4865
@kalabanki4865 8 ай бұрын
I'm a final year student should I follow sde a-z sheet as a beginner reply me
@arundhatipatil457
@arundhatipatil457 8 ай бұрын
first learn c++ then tcs striver sheet and then follow a to z sheet
@harshpalsingh1145
@harshpalsingh1145 7 ай бұрын
It matters on your capabilities as well. If you feel a-z sheet is comfortable then follow it otherwise do easier sheets first. Also learning a language like cpp or java and learning DSA are two different things. Give importance to both and yes you can do both side by side.
@cenacr007
@cenacr007 4 ай бұрын
us
@bottunaveen4902
@bottunaveen4902 4 ай бұрын
Great Explanation ❤
@ashishpradhan6250
@ashishpradhan6250 Ай бұрын
understood
@dewanandkumar8589
@dewanandkumar8589 2 ай бұрын
Understood
@abhishekprasad010
@abhishekprasad010 2 ай бұрын
Understood
@SibiRanganathL
@SibiRanganathL 3 ай бұрын
Understood
@codeman3828
@codeman3828 6 ай бұрын
Understood
@abhinanda7049
@abhinanda7049 4 ай бұрын
understood
@chiragbansod8252
@chiragbansod8252 4 ай бұрын
understood
L14. Detect a loop or cycle in LinkedList | With proof and Intuition
20:26
L12. Find the intersection point of Y LinkedList
32:05
take U forward
Рет қаралды 53 М.
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 10 МЛН
L16. Delete the middle node of the LinkedList
16:36
take U forward
Рет қаралды 33 М.
Lists in Python | By Madhav Sharma
18:07
Madhav Sharma
Рет қаралды 52
5 Math Skills Every Programmer Needs
9:08
Sahil & Sarra
Рет қаралды 1 МЛН
L10. Check if a LinkedList is Palindrome or Not | Multiple Approaches
20:02
Calc teacher slowly loses his mind at the end of our final lecture
1:29
Leaders in an Array | Brute - Optimal | Strivers A2Z DSA Course
11:53
take U forward
Рет қаралды 114 М.