L1. Introduction to LinkedList | Traversal | Length | Search an Element

Поділитися
Вставка
  • Опубліковано 22 жов 2024

КОМЕНТАРІ • 337

  • @itikalamba3629
    @itikalamba3629 11 місяців тому +254

    Best channel for learning dsa thnku sir just because of your cheatsheet and playlist i was able to crack my campus placement 🎉❤

    • @sampathsriram4292
      @sampathsriram4292 11 місяців тому +6

      Can you share the cheatsheet link for preparation

    • @dark_lord98
      @dark_lord98 10 місяців тому +4

      Which company?

    • @sukhii0220
      @sukhii0220 3 місяці тому

      @@sampathsriram4292 search on google "A to Z striver DSA sheet" you would get it

  • @asheshbandopadhyay6657
    @asheshbandopadhyay6657 11 місяців тому +162

    Time Stamps:
    1. 00:00 - 00:56 -> Introduction
    2. 00:57 - 10:31 -> What is Linked List?
    3. 10:32 - 13:17 -> Where it is used?
    4. 13:18 - 24:10 -> Struct/Class in C++
    5. 24:11 - 26:20 -> Class in Java
    6. 26:21 - 27:54 -> Memory space used
    7. 27:55 - 37:21 -> Array to Linked List
    8. 37:22 - 40:13 -> Traversal in Linked List
    9. 40:14 - 42:00 -> Length of a Linked List
    10. 42:01 - 44:36 -> Search an element in Linked List
    11. 44:37 - 45:16 -> Outro
    *P.S.: Deletion and insertion a node in LL will be in next video.

    • @jayakumar2103
      @jayakumar2103 10 місяців тому +1

      👍

    • @OmCanpe
      @OmCanpe 9 місяців тому +1

      You doing god's work ❤

    • @harshkasli-sr1gp
      @harshkasli-sr1gp 3 місяці тому

      @@OmCanpe but chatgpt is doing his work

    • @OmCanpe
      @OmCanpe 3 місяці тому

      @@harshkasli-sr1gp true

  • @Dinesh-to3sn
    @Dinesh-to3sn 10 місяців тому +87

    Not too late , but I wish I found this channel 2yrs ago. Great explanation anyways💯

  • @SriM-g6p
    @SriM-g6p 10 місяців тому +36

    somehow he made me connect everything related to c++, java, and pointers in this lecture. absolutely incredible lecture man

  • @VishalKumar-vd9hb
    @VishalKumar-vd9hb 11 місяців тому +14

    I have solved all the linked list problems from Striver's a2z sheet but I still watched the lecture because I know I will learn something new from Striver's lecture or atleast have a revision of the concepts.
    The basics of linked list has been explained beautifully in this lecture. Thanks Striver.

  • @beaware70
    @beaware70 11 місяців тому +16

    Great explaination I was striving a lot in LinkedIn lists and kept on finding the lectures . But as I saw that sir is started a LinkedIn list bootcamp I was very happy thankyou sir .because DSA journey has become fluid because of you.❤❤❤❤

  • @arnavsawant2657
    @arnavsawant2657 4 місяці тому +13

    things that i couldnt grasp for 2 years , i learnt in 15 mins
    BEST EXPLANATION YET

  • @suyashpandey1058
    @suyashpandey1058 20 днів тому

    finally with the help of a senior and your onpoint inputs, understood LL after trying and failing for a month. Huge success to you.

  • @himanshuyadav0600
    @himanshuyadav0600 11 місяців тому +17

    Striver Bhai ke aage koi bol sakta hai kya. 😍. Going to be the Best bootcamp for linkedlist!!!! Josh++

  • @lordK09
    @lordK09 2 місяці тому +12

    badiya lecture tha, 2 baar dekhna pada par sab samjh aa gya

  • @AmanSharma-xy1qm
    @AmanSharma-xy1qm 10 місяців тому +11

    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.

  • @jegadeeshpasupuleti3108
    @jegadeeshpasupuleti3108 8 місяців тому +2

    You are working very hard and helping a lot for those who cannot able to pay for courses, keep going I encourage you.

  • @siddhiagarwal7311
    @siddhiagarwal7311 7 місяців тому +1

    the most beautiful explanation one could ever find on linked list

  • @mayankjha9702
    @mayankjha9702 10 місяців тому +8

    I start data structure since 2 year from now but due to some reason my continuity break many times but I started again from the basic because I feel uncomfortable . The only data structure (linked list ) in which I am so much confident that I not revise that again.

  • @generalaware123
    @generalaware123 10 місяців тому +5

    Great and simple explanation of linked list ever seen in youtube. Thanks striver for creating such a great content.

  • @rohitjangid3270
    @rohitjangid3270 9 місяців тому +1

    This is really really amazing amazing section since i watched many channesls, i couldn't understand linked list in the well manner and no one teacher like you teach.
    once again i really really thanks sir.

  • @asadeducation9513
    @asadeducation9513 9 місяців тому +1

    Wow , Your initiative is amazing . Thank you. You worth much more than money. Huge Respect for you sir.

  • @AB-iv4bq
    @AB-iv4bq 10 місяців тому +6

    He kept his promise. My favorite channel. Thank you striver for everything

  • @tamilanbu1560
    @tamilanbu1560 24 дні тому

    Finally started to learn Linkedlist from a Great Tutor 🔥

  • @aniketsakhare4470
    @aniketsakhare4470 9 місяців тому +1

    Best video on LL till now , thnx for providing such a content.

  • @areetra-halder
    @areetra-halder 10 місяців тому +3

    Hey Striver, you might need to sort the A to Z DSA Playlist, the topics are not sequencial but in order/aligned with your website. We need to scroll a lot to shift from arrays to linkedlist. not a problem for 1-2 times... but we use it every day so its kinda annoying. thank you

  • @gayatrichaudhary580
    @gayatrichaudhary580 11 місяців тому +4

    Sir,literally I was waiting for your lecture on linkedlist
    Thankyou so much sir ❤

  • @4444-c4s
    @4444-c4s 11 місяців тому +4

    Striver's voice is the best❤❤

  • @yuvrajsingh-r8i
    @yuvrajsingh-r8i 11 місяців тому +4

    Thank you so much for starting new playlist linkedlist.

  • @nimmanagotishivasai1741
    @nimmanagotishivasai1741 7 місяців тому +1

    Thank You Sir,
    This lectures helps to lot of students to grab theiir campus placements

  • @Tbm4545
    @Tbm4545 3 дні тому

    Disclaimer for the person not getting this , u must watch the video 4-5 times next plz type the code and for each statment use cout and see what is going inside every variable u will understand the ll concept. For me it took 10-12 times to watch the coding part of the video. Now i am Fully confident

  • @ritiksawarn2985
    @ritiksawarn2985 9 місяців тому +1

    Best playlist for LL.Thanku striver bhaiya.

  • @RajNamdev_19
    @RajNamdev_19 3 місяці тому +5

    This topic is little bit complex for me because I am learning it for the first time but I know I will make it thoroughly with the passage of time ;)

    • @RajNamdev_19
      @RajNamdev_19 2 місяці тому +1

      Got It this time after 1 week ;)

    • @utkarshsingh09
      @utkarshsingh09 Місяць тому

      @@graviton001 Follow the A to Z playlist! Start with Linked List then Trees.

  • @Dibyadipan
    @Dibyadipan Місяць тому

    Thank you sir for the wonderful explanation! Even though i needed to rewind the video a couple of times to understand everything, but yeah i am feeling confident now!🙂

  • @ahmadentertainmentshorts4222
    @ahmadentertainmentshorts4222 11 місяців тому +6

    Thank you for giving such an amazing content for free ❤❤

  • @thisisRandom-ut9iq
    @thisisRandom-ut9iq 9 місяців тому +8

    please do playlist for String data structures

    • @OurTv-x8k
      @OurTv-x8k 6 місяців тому

      Bro did u found ans on strings

  • @CS_Engineer_
    @CS_Engineer_ Місяць тому +1

    I'm a python DSA guy.....
    but this teaching is awesome

  • @kashishseth9558
    @kashishseth9558 8 місяців тому +2

    love the way u teach also loved your confidence!!!!

  • @poojaraman6663
    @poojaraman6663 3 місяці тому +2

    Sir, is it necessary that I've to learn arrays, stacks, queues, linked lists and then trees, graphs in this order
    Or can I learn them in any order?
    Ur teaching is valuable sir💫

    • @priyanshukarmakar3773
      @priyanshukarmakar3773 3 місяці тому +3

      U must know bout arrays, pointers and structures to understand linked list
      :)

  • @immortal6978
    @immortal6978 11 місяців тому +3

    Loving your dedication for coding if Agreed give me a thumbs Up along with the Striver .
    Reminder: Don't forget to type understood in comment and give a like to his hard work.

  • @abhisheksa6635
    @abhisheksa6635 10 місяців тому

    Well knew all of these but kyun na dekhein naya tarike se kya xplanation h. Banda sahi kaam karta h, like thokna banta h.

  • @hitesh7651
    @hitesh7651 9 місяців тому +3

    please make a playlist on strings , it's very confusing learning this from others

  • @ritikshandilya7075
    @ritikshandilya7075 6 місяців тому

    bhai ek hi dil he , kitni baar jitoge , really really amazing explanation ❤

  • @keeptrackyt
    @keeptrackyt 2 місяці тому +2

    20:45 -> concept of class and objects imp
    28:15 -> converting to linkedlist from array

  • @sardarzain1066
    @sardarzain1066 11 місяців тому +2

    I love this channel so much

  • @ayushplays457
    @ayushplays457 10 місяців тому +7

    Timestamp : 14:33 I just have one doubt 14:33 int x =2 and it’s a value type how it will create memory in heap?
    It should be in stack I believe .
    Can someone explain.?

    • @indhu_2010
      @indhu_2010 9 місяців тому +2

      yes i too thought the same

    • @arup5513
      @arup5513 3 місяці тому +1

      yes it will be in stack.

    • @tathagattiwari7709
      @tathagattiwari7709 Місяць тому +1

      yes... primitive types are stored in stack, also if we'd have assigned any object to x, then as well only the object is created in the heap and the reference variable (x) is stored in the stack .

  • @freeandreliablejeeprep820
    @freeandreliablejeeprep820 Місяць тому +1

    thank you Srila prabhupada Hare krishna

  • @thefourhourtalk
    @thefourhourtalk 3 місяці тому +1

    starting my linked list playlist today !

  • @rohitanand7071
    @rohitanand7071 11 місяців тому +2

    Day 1 of Linked LIst is completed Bhaiya

  • @KaranSingh-tx2db
    @KaranSingh-tx2db 11 місяців тому +2

    Thankyou so much sir ❤ for this amazing content and explanation 👏

  • @sohamborale7314
    @sohamborale7314 8 місяців тому

    Omg , what a teaching skills u have bro ❤

  • @Akarsh_2001
    @Akarsh_2001 11 місяців тому +3

    Going to be the best bootcamp for linked list ♥️♥️♥️♥️😁😁

  • @ahelighosh5091
    @ahelighosh5091 10 місяців тому +1

    such an easy and detailed explanation

  • @MyAnish22
    @MyAnish22 11 місяців тому +2

    @20:50 - Struct is Public by default and Class is Private by default - No need to explicitly write the same if one needs to use default behavior. Need to write Public in Class to make it accessible.

    • @takeUforward
      @takeUforward  11 місяців тому +10

      You write it for readability in industry. The interviewer taking your interview might not be knowing your language. Keep all these things in mind

  • @Josuke217
    @Josuke217 5 місяців тому

    Made everything so simple , great explanation

  • @RishitMohanty
    @RishitMohanty 3 місяці тому

    thank you so much raj bhaiya. love from odisha 🥰

  • @AbhirajRathour-e9l
    @AbhirajRathour-e9l 10 місяців тому +1

    beautifully explained.🤗

  • @The_yellow_flash-07
    @The_yellow_flash-07 Місяць тому

    best dsa channel.

  • @anshror2583
    @anshror2583 11 місяців тому +1

    Striver bhai ki jai ho paid m kya rakha, jab bhai padheyega toh smaj jarur ayega jai ho striver bhai ki

  • @rajankumar-ht8ug
    @rajankumar-ht8ug 11 місяців тому +2

    Thankyou so much sir ji 🙏🙏

  • @akhilreddybollu
    @akhilreddybollu 11 місяців тому

    Thanks for this boot camp striver❤
    You are a life saver 😊❤😍😘🥰

  • @NarayanjiRai
    @NarayanjiRai 11 місяців тому +2

    Hi Striver, I am having difficulty finding the JavaScript code link for the LinkedList series. I know your teaching is not language-specific, but for the first video, if you could provide the code link, it would be very helpful. Thanks!

    • @takeUforward
      @takeUforward  11 місяців тому +2

      We will link articles soon!

    • @NarayanjiRai
      @NarayanjiRai 10 місяців тому +1

      ​@@takeUforward can you please let me know if you have linked it? It would be very kind of you.

    • @chethanprabhu4475
      @chethanprabhu4475 2 місяці тому

      @@takeUforward I see the JS articles are not updated yet.

  • @shreyxnsh.14
    @shreyxnsh.14 9 місяців тому

    it's a very humble request, please launch strings course

  • @Stellar_7x
    @Stellar_7x 3 місяці тому

    QUERY : when we make array it stores in stack segment of memory , and when we use DYNAMIC MEMORY ALLOCATION array will be created on HEAP so what about LL means where data stored in stack or heap

  • @guneeshvats46
    @guneeshvats46 4 місяці тому

    Amazing Explanation brother

  • @ProCat343
    @ProCat343 11 місяців тому

    Bhai ek number ka kam ker raho ho . Bus kerte raho.

  • @Nikhilsaini258
    @Nikhilsaini258 11 місяців тому +1

    Hi Striver, I have a query regarding online interviews.
    I know it will be better if I have an iPad or some other pad. It gives me an edge to explain my solution for Ds or explain a design in System design. But right now, I'm just using MS paint for this. It is difficult to explain the solution just using MS Paint.
    Can you suggest whether I should buy an iPad for my next interview or do you know any other available solution?

  • @TBO710
    @TBO710 Місяць тому

    Can't thank you enough sir . Thanks a lot

  • @ayushthakur7566
    @ayushthakur7566 5 місяців тому +1

    Hey striver where You have attached the notes of this lecture. I checked in your website there is no any any artical present for Introduction of linkedlist.

  • @hareshnayak7302
    @hareshnayak7302 6 місяців тому

    Understood,Thanks striver for this amazing video.

  • @Murugavel-ee123
    @Murugavel-ee123 11 місяців тому +2

    Completed sir 26/11/2023 - Murugavel E

  • @someshsunar4166
    @someshsunar4166 5 місяців тому

    Very Good explanation

  • @droid-aman
    @droid-aman 6 місяців тому

    imp TimeStamps:
    Node class -> 27:00
    (java code) Array to LL -> 30:00
    Traverse in LL -> 37:40
    Length of LL -> 40:30
    Search in LL -> 42:30

  • @mdshamimahmed7049
    @mdshamimahmed7049 Місяць тому

    I'm confused about something. Do we need to copy the head pointer inside a function for printing the LL?
    Even if I don't copy, the head from main function is unchanged. So is it necessary to copy?
    Can I use like this?
    void traverse(Node *head)
    {
    while(head != nullptr)
    {
    cout data next;
    }
    cout

  • @suchitpatel8700
    @suchitpatel8700 5 місяців тому

    your videos are so great bro...

  • @akilesh6379
    @akilesh6379 5 днів тому +1

    understood sir

    • @Tbm4545
      @Tbm4545 4 дні тому

      Really u i am not trying it 10-12 th time i M still not getting link list syntax

  • @ankitchipu
    @ankitchipu 9 місяців тому

    Striver please make a playlist on string from A2Z dsa sheet.

  • @ekdummst
    @ekdummst 6 місяців тому +1

    at 36.40 you said we need to give private static otherwise we need to create object I don't get that plz explain that

  • @oyeesharme
    @oyeesharme 3 місяці тому

    thank you bhaiya for your efforts

  • @albela7434
    @albela7434 6 місяців тому

    It's really worth it for placement

  • @Ayeshasingh720
    @Ayeshasingh720 3 місяці тому

    best lecture ever

  • @pallavitiwari7243
    @pallavitiwari7243 Місяць тому +3

    Him getting passionate about Node at 17:35 🤣

  • @RaviKumar-sn6tu
    @RaviKumar-sn6tu 6 місяців тому

    Starting this topic today !!!

  • @RAJADHANISH23BCE984
    @RAJADHANISH23BCE984 2 місяці тому +1

    The last part ( 43:26 ) is about a oops concept "GENERICS" .

  • @VimalKumar-ye5rd
    @VimalKumar-ye5rd 11 місяців тому

    One Of the easy explanation...... 👌👌👌

  • @antor.morsalin
    @antor.morsalin 9 місяців тому

    If I use a different variable called SIZE to keep track of the number of elements in a linked list, I don't really need O(N) complexity to find out the size

  • @anuragforwin
    @anuragforwin 11 місяців тому +1

    bhaiya everytime you keep saying "it is declared in heap memory int x=2 " , shouldn't the variables declared within main would be in stack, activation record of main function? or i need to correct my basics . please let me know @takeUforward

    • @adityapradhan675
      @adityapradhan675 10 місяців тому

      local variables declared within a function, including main(), are typically stored on the stack. The stack is a region of memory that is managed automatically by the compiler and is used for storing local variables.

  • @RishabSharma6969
    @RishabSharma6969 10 місяців тому

    Superbly awesome video.

  • @aftabshaik9271
    @aftabshaik9271 5 місяців тому

    @takeuforward can you pls tell me which screen recorder u are using to record the notes that you are explaining

  • @trailblazer555
    @trailblazer555 11 місяців тому

    Good explanation Striver

  • @VaibhavGupta-v3r
    @VaibhavGupta-v3r 11 місяців тому

    Thankyou bhaiya for this amazing content

  • @Monday_chats
    @Monday_chats 15 днів тому

    Thanks

  • @kumar_sanjeevdutta1069
    @kumar_sanjeevdutta1069 5 місяців тому

    Simply great 🎉🎉

  • @MKP_CreateOwnwork
    @MKP_CreateOwnwork 3 місяці тому

    is this channel is helpful for python coder's. plz do reply😊

  • @TarunKumarSaraswat
    @TarunKumarSaraswat Місяць тому

    Thank you

  • @samxd4296
    @samxd4296 11 місяців тому

    @takeUforward sir will you also upload String(basic) series??

  • @rahulnegi4027
    @rahulnegi4027 Місяць тому

    In function even if do temper the head it wont affect the head as agruments are passed by value not by reference please do correct me if i am wrong see yah

  • @sagarvk18
    @sagarvk18 11 місяців тому

    You are the best❤! Thank you Bhaiya💌!!

  • @vartikasingh2562
    @vartikasingh2562 9 місяців тому

    Awsome Striver! loved the first video.

  • @vanditagrawal3736
    @vanditagrawal3736 13 днів тому

    please tell me that python is sufficient for cracking tcs nqt

  • @gattushaistha3452
    @gattushaistha3452 4 місяці тому

    can you please provide with playlist link for Google Software Engineer preparation.

  • @kingsgamingff532
    @kingsgamingff532 11 місяців тому +1

    Best for dsa

  • @NazeerBashaShaik
    @NazeerBashaShaik 6 місяців тому

    Understood, thank you.

  • @thefourhourtalk
    @thefourhourtalk 3 місяці тому

    sir when are string playlist going to start ??????

  • @mayukhbhowmik
    @mayukhbhowmik 11 місяців тому +2

    @take U forward,@Striver,Please Add This Linked-list sheet into your A-Z Dsa Sheet.