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

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024
  • Convert an array to LL: tinyurl.com/55...
    Length of LL: tinyurl.com/kv...
    Search an element: tinyurl.com/27...
    Entire LL Sheet: takeuforward.o...
    Check our A2Z DSA Course: takeuforward.o...
    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/take...

Комментарии • 320

  • @itikalamba3629
    @itikalamba3629 10 месяцев назад +251

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

    • @sampathsriram4292
      @sampathsriram4292 10 месяцев назад +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

  • @Dinesh-to3sn
    @Dinesh-to3sn 10 месяцев назад +85

    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 10 месяцев назад +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.

  • @asheshbandopadhyay6657
    @asheshbandopadhyay6657 10 месяцев назад +158

    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 8 месяцев назад +1

      You doing god's work ❤

    • @harshkasli-sr1gp
      @harshkasli-sr1gp 2 месяца назад

      @@OmCanpe but chatgpt is doing his work

    • @OmCanpe
      @OmCanpe 2 месяца назад

      @@harshkasli-sr1gp true

  • @arnavsawant2657
    @arnavsawant2657 4 месяца назад +13

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

  • @beaware70
    @beaware70 10 месяцев назад +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.❤❤❤❤

  • @lordK09
    @lordK09 2 месяца назад +12

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

  • @suyashpandey1058
    @suyashpandey1058 12 дней назад

    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 10 месяцев назад +17

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

  • @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.

  • @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.

  • @siddhiagarwal7311
    @siddhiagarwal7311 6 месяцев назад +1

    the most beautiful explanation one could ever find on linked list

  • @tamilanbu1560
    @tamilanbu1560 16 дней назад

    Finally started to learn Linkedlist from a Great Tutor 🔥

  • @generalaware123
    @generalaware123 9 месяцев назад +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 8 месяцев назад +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

  • @aniketsakhare4470
    @aniketsakhare4470 8 месяцев назад +1

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

  • @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.

  • @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.

  • @keeptrackyt
    @keeptrackyt 2 месяца назад +2

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

  • @ritiksawarn2985
    @ritiksawarn2985 9 месяцев назад +1

    Best playlist for LL.Thanku striver bhaiya.

  • @nimmanagotishivasai1741
    @nimmanagotishivasai1741 6 месяцев назад +1

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

  • @gayatrichaudhary580
    @gayatrichaudhary580 10 месяцев назад +4

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

  • @yuvrajsingh-r8i
    @yuvrajsingh-r8i 10 месяцев назад +4

    Thank you so much for starting new playlist linkedlist.

  • @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

  • @ahmadentertainmentshorts4222
    @ahmadentertainmentshorts4222 10 месяцев назад +6

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

  • @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!🙂

  • @4444-c4s
    @4444-c4s 10 месяцев назад +4

    Striver's voice is the best❤❤

  • @kashishseth9558
    @kashishseth9558 8 месяцев назад +2

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

  • @RajNamdev_19
    @RajNamdev_19 2 месяца назад +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.

  • @CS_Engineer_
    @CS_Engineer_ 22 дня назад

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

  • @ritikshandilya7075
    @ritikshandilya7075 5 месяцев назад

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

  • @poojaraman6663
    @poojaraman6663 2 месяца назад +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 2 месяца назад +3

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

  • @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

  • @hitesh7651
    @hitesh7651 8 месяцев назад +3

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

    • @umaimaqayamwala7893
      @umaimaqayamwala7893 7 месяцев назад

      same request

    • @user-fw4kz3bb4g
      @user-fw4kz3bb4g 6 месяцев назад

      hopefully he makes it ASAP, its one of the MOST important basics for dsa

  • @immortal6978
    @immortal6978 10 месяцев назад +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.

  • @sardarzain1066
    @sardarzain1066 10 месяцев назад +2

    I love this channel so much

  • @rohitanand7071
    @rohitanand7071 10 месяцев назад +2

    Day 1 of Linked LIst is completed Bhaiya

  • @The_yellow_flash-07
    @The_yellow_flash-07 Месяц назад

    best dsa channel.

  • @MyAnish22
    @MyAnish22 10 месяцев назад +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  10 месяцев назад +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

  • @sohamborale7314
    @sohamborale7314 8 месяцев назад

    Omg , what a teaching skills u have bro ❤

  • @KaranSingh-tx2db
    @KaranSingh-tx2db 10 месяцев назад +2

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

  • @Akarsh_2001
    @Akarsh_2001 10 месяцев назад +3

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

  • @RishitMohanty
    @RishitMohanty 2 месяца назад

    thank you so much raj bhaiya. love from odisha 🥰

  • @thefourhourtalk
    @thefourhourtalk 3 месяца назад +1

    starting my linked list playlist today !

  • @ahelighosh5091
    @ahelighosh5091 9 месяцев назад +1

    such an easy and detailed explanation

  • @Josuke217
    @Josuke217 4 месяца назад

    Made everything so simple , great explanation

  • @anshror2583
    @anshror2583 10 месяцев назад +1

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

  • @pallavitiwari7243
    @pallavitiwari7243 Месяц назад +3

    Him getting passionate about Node at 17:35 🤣

  • @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 8 месяцев назад +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 .

  • @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

  • @freeandreliablejeeprep820
    @freeandreliablejeeprep820 Месяц назад

    thank you Srila prabhupada Hare krishna

  • @Murugavel-ee123
    @Murugavel-ee123 10 месяцев назад +2

    Completed sir 26/11/2023 - Murugavel E

  • @albela7434
    @albela7434 5 месяцев назад

    It's really worth it for placement

  • @akhilreddybollu
    @akhilreddybollu 10 месяцев назад

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

  • @rajankumar-ht8ug
    @rajankumar-ht8ug 10 месяцев назад +2

    Thankyou so much sir ji 🙏🙏

  • @TBO710
    @TBO710 Месяц назад

    Can't thank you enough sir . Thanks a lot

  • @AbhirajRathour-e9l
    @AbhirajRathour-e9l 9 месяцев назад +1

    beautifully explained.🤗

  • @hareshnayak7302
    @hareshnayak7302 6 месяцев назад

    Understood,Thanks striver for this amazing video.

  • @Ayeshasingh720
    @Ayeshasingh720 3 месяца назад

    best lecture ever

  • @RAJADHANISH23BCE984
    @RAJADHANISH23BCE984 2 месяца назад +1

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

  • @guneeshvats46
    @guneeshvats46 4 месяца назад

    Amazing Explanation brother

  • @shreyxnsh.14
    @shreyxnsh.14 8 месяцев назад

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

  • @someshsunar4166
    @someshsunar4166 5 месяцев назад

    Very Good explanation

  • @NarayanjiRai
    @NarayanjiRai 10 месяцев назад +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  10 месяцев назад +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.

  • @ProCat343
    @ProCat343 10 месяцев назад

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

  • @suchitpatel8700
    @suchitpatel8700 5 месяцев назад

    your videos are so great bro...

  • @nothing-ce6rs
    @nothing-ce6rs 10 месяцев назад +12

    Only person who didn't leave company for students 😂😂😂
    Like love babbar, Rohit tyegi, now faraz etc. they suddenly get interest in teaching 😂

    • @subhadipsamanta717
      @subhadipsamanta717 10 месяцев назад +1

      Itna cheap mentality lekar tum kaise learning k sath link kar na chaate ho ! 😂

    • @nothing-ce6rs
      @nothing-ce6rs 10 месяцев назад +1

      @@subhadipsamanta717 ismy cheap kya ha i think u r fan of love babbar...
      Love babbar ko nikala amazon sy and he said k mai students k lye aya, at that time also striver said koi kisi k lye job ni chodta..
      Rohit tyegi 1sal job keya fr chod deya bola teaching mai interest hai , students k lye chodra.
      Anuj bhaya same
      Or kal faraz ny b bola usko interest ha islye left Google..
      😂😂

    • @lofi_feels1924
      @lofi_feels1924 10 месяцев назад +1

      ​@@nothing-ce6rsbhai y sab krne s achha pdhai hi krlo.. negative ni positive trike s bol raha kyuki yaha itne andh bhkt h ki 2 4 word m offend hojayege🤞🏻be grateful ki hum striver bhaiya s padh rahe h..baki duniya wle apna apna dekhe jab maturity aayegi tab smjh aayega unhe aur afsos hoga for sure

    • @subhadipsamanta717
      @subhadipsamanta717 10 месяцев назад

      ​@@nothing-ce6rs sorry bro, dil pe mot lo. I want say that don't compare them , everyone is unique and they follow their own way.
      Please don't insult anyone neither you can't respect. Because they are teaching as their own way .

    • @nothing-ce6rs
      @nothing-ce6rs 10 месяцев назад

      @@subhadipsamanta717 m not disrespecting but m telling how much they lie

  • @VimalKumar-ye5rd
    @VimalKumar-ye5rd 10 месяцев назад

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

  • @oyeesharme
    @oyeesharme 2 месяца назад

    thank you bhaiya for your efforts

  • @kumar_sanjeevdutta1069
    @kumar_sanjeevdutta1069 5 месяцев назад

    Simply great 🎉🎉

  • @RaviKumar-sn6tu
    @RaviKumar-sn6tu 6 месяцев назад

    Starting this topic today !!!

  • @mayukhbhowmik
    @mayukhbhowmik 10 месяцев назад +2

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

  • @ankitchipu
    @ankitchipu 9 месяцев назад

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

  • @vartikasingh2562
    @vartikasingh2562 9 месяцев назад

    Awsome Striver! loved the first video.

  • @sachitkumbhat2004
    @sachitkumbhat2004 10 месяцев назад +1

    Was eagerly waiting for this.... Tysm

  • @MKP_CreateOwnwork
    @MKP_CreateOwnwork 2 месяца назад

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

  • @priyakarn5191
    @priyakarn5191 Месяц назад

    awesome yrr

  • @Stellar_7x
    @Stellar_7x 2 месяца назад

    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

  • @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

  • @shubhamchauhan4817
    @shubhamchauhan4817 5 месяцев назад

    24:55 we did 4 changes to be more specific while converting from C++ to JAVA, contrary to what you said (2) in the beginning of this video.
    I appreciate all the effort put in in making this course and that it is available to all. But lets not mislead our juniors and acknowledge the differences in the languages Java, C++, JavaScript etc.

  • @Trueman94
    @Trueman94 10 месяцев назад +1

    Sir is best

  • @sagarvk18
    @sagarvk18 10 месяцев назад

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

  • @kingsgamingff532
    @kingsgamingff532 10 месяцев назад +1

    Best for dsa

  • @VaibhavGupta-v3r
    @VaibhavGupta-v3r 10 месяцев назад

    Thankyou bhaiya for this amazing content

  • @Nikhilsaini258
    @Nikhilsaini258 10 месяцев назад +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?

  • @RishabSharma6969
    @RishabSharma6969 10 месяцев назад

    Superbly awesome video.

  • @aftabshaik9271
    @aftabshaik9271 4 месяца назад

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

  • @trailblazer555
    @trailblazer555 10 месяцев назад

    Good explanation Striver

  • @tanya8353
    @tanya8353 9 месяцев назад

    Commendable job striver!!!

  • @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.

  • @saitejanedunoori5451
    @saitejanedunoori5451 4 месяца назад

    Great work brother ☺

  • @marvelgaming9099
    @marvelgaming9099 3 месяца назад

    00:04 Introduction to LinkedList and its advantages over arrays
    02:20 LinkedList is not in contiguous memory location
    07:10 Understanding how elements in a linked list are accessed and traversed.
    09:27 Adding and removing elements in linked list
    14:13 Understanding the concept of storing pointers in C++.
    16:47 Understanding the concept of self-defined data type in LinkedList.
    21:33 Understanding object and null pointer in LinkedList
    23:30 Comparison between defining objects as class and struct in C++
    27:41 Creating a linked list from an array is a simple process.
    29:45 Traversing and creating a linked list by iterating through each element
    34:04 Converting an array to linked list involves creating a function to return the head and iterating through the array.
    36:09 Traversal is key in understanding LinkedList operations
    40:24 Traversing through a LinkedList and obtaining its length
    42:32 Traverse the linked list and check if an element is present

  • @naponefsqheku9568
    @naponefsqheku9568 2 месяца назад +1

    👍🏼👍🏼👍🏼

  • @samxd4296
    @samxd4296 10 месяцев назад

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

  • @shreyasawant4604
    @shreyasawant4604 3 месяца назад

    Thankyou for this !!

  • @NazeerBashaShaik
    @NazeerBashaShaik 5 месяцев назад

    Understood, thank you.

  • @harshilpatel3205
    @harshilpatel3205 7 месяцев назад

    Thank you man 🤍