Lecture 78: Introduction To Linked List | Traversal and Insertion in a Linked List

Sdílet
Vložit
  • čas přidán 20. 07. 2024
  • Introduction to Linked List | What is Linked List | Singly Linked List | Insertion in a Singly Linked List
    00:00 Introduction to LinkedList
    00:50 5 crore Example for LinkedList
    07:43 Example 2 - Array and Singly LinkedList
    12:22 Defining LinkedList using Classes
    15:25 How to create a Node ?
    20:45 Operations on LinkedLists
    21:58 Ways of Insertion on LinkedLists
    31:32 Code Part - Creating LinkedList
    33:39 Understanding Insertion at Start on LinkedList
    43:45 Traversing On LinkedList
    48:00 Code Part - Insertion On LinkedList at Start
    53:35 Undertanding Insertion at End on LinkedList
    1:18:04 Code Part - Insertion at Ending
    1:21:24 Creating LinkedList using Recursion adding node at end
    1:33:36 Code Part - Creating LinkedList using Recursion adding node at end
    1:39:37 Inserting Node at Beginning using Recursion
    1:52:13 Code Part - Inserting Node at Beginning using Recursion
    1:56:18 Understanding Insertion at Particular Position on LinkedList
    2:03:52 Code Part - Inserting Node at Particular Position
    2:09:48 Common Doubt
    2:18:01 Outro
    Home work sheet: drive.google.com/drive/folder...
    Join Our Whatsapp Channel: whatsapp.com/channel/0029Va6H...
    Day 112/180, #180daysofcode #180 hard
    We are doing 180 days challenge and going to complete the whole course within the duration with quality content on CZcams. I am on the mission to create a tech revolution in our country and in upcoming future we want to create a tech which will create many jobs in India.
    Video will come on Mon-Fri at 6am in the morning
    DSA Course for free
    C++ Free Course
    Rohit Negi DSA Course C++
    Coder Army DSA Course c++
    Function in C++
    Pointers in C++.
    Strings
    Vector
    Introduction to Recursion
    connect to me on Instagram: rohit978.page.link/insta
    Linkedin: rohit978.page.link/linkedin
    Telegram: rohit978.page.link/telegram

Komentáře • 197

  • @CoderArmy9
    @CoderArmy9  Před 6 měsíci +77

    Last part ko jarur dekhna, actual mein samjh aajyga ki Linked List ki jarurat kyn padi….
    Time stamp add kar dena aap log❤
    typo at 1:06:59 instead of temp->next= temp it should be tail->next = temp️, Bola sahi th lekin likh galat diya.

    • @krishnasharma3018
      @krishnasharma3018 Před 6 měsíci +4

      Aj to maza aayega...aise hai long long video banai mast rahe ..jitna long hoga utna hi padhna milega

    • @Ravi-wn4pe
      @Ravi-wn4pe Před 6 měsíci +2

      Happy Makar Sankranti Bhaiya🪁☀

    • @akashkewat1219
      @akashkewat1219 Před 6 měsíci

      Ok😊

    • @trumilnasit1518
      @trumilnasit1518 Před 6 měsíci

      Bhaiya ye video youtube pe upload hone ke bad 24 hours me apke in gharome ED ki raids padne wali hai aap jaldi se paise kahi shift kar lena

  • @fitnesssecrets4046
    @fitnesssecrets4046 Před 7 dny +2

    I am really really, really thankful to you my brother that you made the videos on DSA. You are genius, excellent. Your way of teaching is very deep. And you always cover every single step when you start to define or make us understand any single topic. Means every single step you define properly and in deep. you can only make the real Data Structure students in Bharat. I am really appreciate your work. May Lord Shiv always protect you and will give you lot of success in your life. Har Har Mahadev.

  • @growwithaman9085
    @growwithaman9085 Před měsícem +17

    best Linked List playlist ever i seen'
    sorry Striver ,love babar but Rohit Negi is the Best
    Striver + Love Babar < Rohit Negi

  • @abiralaminn
    @abiralaminn Před 4 měsíci +18

    This channel is going to be the most loveable channel for dsa and coding lover, inshallah❤

  • @MohammedHasmi577
    @MohammedHasmi577 Před měsícem +9

    Bro vacation me pura fayda le rha hu aapke video ka , one of the coolest guy that i have ever seen , also i have recommend your videos to my friends😀😊

  • @noa7761
    @noa7761 Před 2 měsíci +11

    Bhai bohot achhi video thi 2 baar like kar diya 🙃

  • @vipendras867
    @vipendras867 Před 3 měsíci +6

    Maza aa gya sir , main PW ki class chorkar yaha aaya hoon padhne ❤❤❤❤, ek dum dil tak baat pahuch gayi ,

  • @rishabhshenoy3258
    @rishabhshenoy3258 Před 10 dny +2

    Bhaiya we love you ❤ , aapne crore logo ke dil jeet liye

  • @amanprajapati6301
    @amanprajapati6301 Před 6 měsíci +12

    Bhaiya har type ki linked list mene lave babber bhaiya se bhi padh or janny mene se but itna deeply or itne variation se kisi ne doubt clear nahi kiya
    Ab to bhaiya tree ka wait or hai aapse ❤

  • @MohdAshraf-zb4pe
    @MohdAshraf-zb4pe Před 6 měsíci +20

    Bhaiyya aap se acha teacher maine kabhi nhi dekha... aap itni detail me padhate ho ki question apne aap samjh me aa jata hai .....thanks a lot sir👏

  • @fachoyt9686
    @fachoyt9686 Před měsícem

    Best Linked List Lecture Video on CZcams.

  • @vanshtyagi6805
    @vanshtyagi6805 Před 4 dny

    Best Teacher of DSA 😎🙌🏻🙌🏻

  • @itshirdeshk
    @itshirdeshk Před 6 měsíci +5

    Day 112 ✅🔥
    Sab kuch chamak gya bhaiya ✨

  • @Pretty-Skie
    @Pretty-Skie Před 2 měsíci +1

    thanks a lot bhaiya once again, linked list jitni baar dekho utna kam hi lagta hai, har baar kuch naya seekhne ko milta hai. Tomorrow is my dsa exam and i realized that the linked list is a bit tough nut to crack, but i am still giving all my time to it which will be helpful in the long run. Again, tysm for all ur efforts

  • @sunnyrai4329
    @sunnyrai4329 Před 5 měsíci +3

    mind blowing sir ❤ paid courses se laakh guna behtar salute to u sir 😊

  • @akashkewat1219
    @akashkewat1219 Před 6 měsíci +6

    Learning. Doing revision😊. done 112/180

  • @AmitThakur-py6bs
    @AmitThakur-py6bs Před 6 měsíci +2

    Bhaiya Chamak Gya ... Bahut Bahut Dhanyawad Aapka 🙏🙏🙏🙏🙏🙏

  • @user-ww4io4qz9d
    @user-ww4io4qz9d Před 6 měsíci +2

    Amazing bhaiya I will try to understand linked list before this session after I saw a this video literally I am very satisfied and understand concept of Linked list thank you so much

  • @pipinstallpycaret4056
    @pipinstallpycaret4056 Před 3 měsíci

    Thank you very much, sir before reaching you I was very troubled by the linked list. It helps me a lot.

  • @heetpatel3037
    @heetpatel3037 Před 2 měsíci

    Hamesha ki tarah best lecture sir....

  • @mohammedraiyaan-bt6iy
    @mohammedraiyaan-bt6iy Před 2 měsíci

    Thanks a lot it was an awesome lecture .aur sab kuch chamak gaya

  • @dipanshupatidar2230
    @dipanshupatidar2230 Před 3 měsíci

    keep it up ,amazing content and explanation style, waiting for more such good content in future ,thankue🙏🙏

  • @Softengstd
    @Softengstd Před 2 měsíci +2

    I'm watching this video for an hour before the exam. Linked List 😅

  • @Pretty-Skie
    @Pretty-Skie Před 3 měsíci

    thankyou so much sir for such an elaborate explanation, linked list achhe se chamak gaya hai 💜

  • @sanjaykhandelwal4868
    @sanjaykhandelwal4868 Před měsícem +1

    Linklist ab halwa lag raha😊 hai ,thanks sir ❤❤🎉

  • @ShubhamKumar-vk8me
    @ShubhamKumar-vk8me Před 5 měsíci

    katai khatarnak video bhaiya ekdam chamak gaya 🔥🔥🔥🔥

  • @5harshitshrivastava
    @5harshitshrivastava Před měsícem +3

    linked list lec1.completed.dated29.may.24
    1.creating linked.list(insertion.start)
    2.creating linked.list(insertion.end)
    3.creating linked.list.using.recurrsion(insert.start)
    4.creating linked.list.using.recurrsion(insert.end)
    5.creating linked.list.using.recurrsion(insert.middle)
    good video sirji

  • @festivalstatus7174
    @festivalstatus7174 Před 23 dny

    Best content, You are teacher also and my best friend

  • @sbworld13
    @sbworld13 Před 5 měsíci

    Mind blowing Lecture 🔥🔥✨

  • @skillfulmind960
    @skillfulmind960 Před 6 měsíci +1

    Just awesome ❤❤❤❤❤❤❤❤

  • @photography7315
    @photography7315 Před 22 dny

    bhut ache bhaiya its best teaching

  • @divyanhuchouhan1072
    @divyanhuchouhan1072 Před 6 měsíci

    thank you so much bhaiya
    and i am wating for your MARN course

  • @user-rh4vp7kq6d
    @user-rh4vp7kq6d Před 4 měsíci

    chaka chaak wala chamak gaya bhaiya❤

  • @Harshmishra0007
    @Harshmishra0007 Před 6 měsíci

    Bahi bahut bdiya❤

  • @dibbodas4116
    @dibbodas4116 Před 6 měsíci

    chamak chuka hain ❤❤

  • @user-bl4ek8py1n
    @user-bl4ek8py1n Před 6 měsíci +1

    happy makar sankranti rohit bhaiya.

  • @lakshya2204
    @lakshya2204 Před 3 měsíci +5

    sirji apke ye long video dekh ke kush bhi aur dukhi dono ho rha ho dukhi islye kuki exam pass me hai playlist complete kr paoga ya nhi aur kush islye ki itne detail information se pad rha ho kismat wala ho joo apse first time pad rha ho........thanks a lot i tried to complete it as much quick..

    • @SiddharthSingh-ff2hl
      @SiddharthSingh-ff2hl Před měsícem

      Bhai kya tum inka notes bnate ho?

    • @lakshya2204
      @lakshya2204 Před měsícem

      @@SiddharthSingh-ff2hl ha bhai. Bina notes... To bhol jao ga

    • @SiddharthSingh-ff2hl
      @SiddharthSingh-ff2hl Před měsícem

      @@lakshya2204 bhai mujhe linked list ka notes chahiye tha

    • @lakshya2204
      @lakshya2204 Před měsícem

      @@SiddharthSingh-ff2hlbhai notes leke koi fayda nhi hai...kuki tum samaj nhi paoge and dusri baat samaj liya to koi kam ka nhi hai tum video dekhne ke sath sath practical and notes dono bane hai wrna chodo ye field roone lagega bahi age jake dicision tere hath me hai...

  • @ankushladani496
    @ankushladani496 Před 6 měsíci

    Thanks bhaiya...❤🎉

  • @joydeep-halder
    @joydeep-halder Před 6 měsíci +2

    2:17:24: Doubly Linked List: Music Player and Singly Linked List: Spotify without premium 😆😆
    Now I can understand why Spotify removed the option of prev song, just to save their space. 😂

  • @User-yb3yc
    @User-yb3yc Před měsícem

    Great lecture Sir 😊

  • @simmi641
    @simmi641 Před 4 měsíci

    Thank you bhaiya link list topic chamak gaya🤭😍

  • @JASHANPREETSINGH-wx7du
    @JASHANPREETSINGH-wx7du Před měsícem

    16th of june , 2024 you mentioned like target of 500 and today its 1600 ; so i think people respond more to complete the like or comment target than doing on their own so a little suggestion to always have this type target on every video , surely engagement will increase

  • @Muhammadfaisal-kd9kx
    @Muhammadfaisal-kd9kx Před 3 měsíci

    chamak gaya bhai

  • @virat100lot18
    @virat100lot18 Před 6 měsíci

    moj kar di guru ji eska hi wait tha

  • @growwithaman9085
    @growwithaman9085 Před 23 dny

    yha tak mujhe chamak chuka hai

  • @Emergingcodin
    @Emergingcodin Před měsícem

    Maja aa gya bhaiya 🎉❤

  • @Feel_It.
    @Feel_It. Před 2 měsíci

    2:34 Bhai ki Example..🔥

  • @karankumar3983
    @karankumar3983 Před 6 měsíci +4

    Why we should not move head pointer ? 56:48 to 58:00
    Why ll is required? 2:09:52 to 2:16:00

    • @lakshya2204
      @lakshya2204 Před 3 měsíci

      are bhai head ko move karege to first node ka adress nhi hoga and hame head wapis piche nhi le ja sakte ....future me baar bar hame first node ka adress required hoga and head ko move kar diya to only one time apn list ko print kar skege but head first node par hi rhega and tail traverse karega to ...tail che khi bhi ho ham agin usko head ka adress deke first node par bola skate hai....

    • @karankumar3983
      @karankumar3983 Před 3 měsíci

      @@lakshya2204 Bhai maine vo time stamp with that question add Kiya hai sawal nhi puch rha hu

  • @diyaadhikari7075
    @diyaadhikari7075 Před 2 měsíci

    Worth it ❤

  • @alexjaiswal1
    @alexjaiswal1 Před 26 dny

    thankyou sir.

  • @PradeepModak-cw3ve
    @PradeepModak-cw3ve Před 5 měsíci

    Chamk gya Negi bhaiya

  • @Achyutaryaa
    @Achyutaryaa Před 4 měsíci

    2nd day. With top level youtuber Rohit Bhaiya, #coderarmy

  • @user-lz2xv7mj2r
    @user-lz2xv7mj2r Před 6 měsíci

    Good Morning Bhaiyaaa!!

  • @amankumaramar271
    @amankumaramar271 Před 6 měsíci

    thank you so much Bhaiya

  • @COMPETITIONBOOKREVIEWANDNOTES

    awesome

  • @tayyabzafar-gl6qr
    @tayyabzafar-gl6qr Před 2 měsíci

    level ho gia yar

  • @akhilesh89621
    @akhilesh89621 Před 5 měsíci

    thanks bhaiya

  • @Ankushkumar-wd7ci
    @Ankushkumar-wd7ci Před 14 dny

    bahut maja aaya

  • @YashSaini007
    @YashSaini007 Před 6 měsíci +4

    Day 112 & 113/180 #180DaysOfCode

  • @lakshya2204
    @lakshya2204 Před 3 měsíci

    sirji 1:51:48 par return of previsous ka to smj agya magr return of createlinklist(arr,index+1,size,temp) ka return ham ku karwa rhe hai?

  • @user-cy1xf4cf4p
    @user-cy1xf4cf4p Před 3 měsíci

    Mashallah ❤

  • @lakshya2204
    @lakshya2204 Před 3 měsíci

    1:48:36 par mera bina return like bhi muje list create and print ho rhi hai .....par mene dynamic array use kiya hai sirji..kya ise time compleity enhance hoge..reply me

  • @ashutoshkumarsingh2137
    @ashutoshkumarsingh2137 Před 3 měsíci

    Haa Ji bhaiya 😊

  • @mdsarupalimondal2578
    @mdsarupalimondal2578 Před 6 měsíci +3

    A little correction( printing mistake😀) at 1:06:57
    Tail -> next = temp;

  • @ankushladani496
    @ankushladani496 Před 6 měsíci +1

    Done Bhaiya... Day 112/180 ✅

  • @amanallrounder2092
    @amanallrounder2092 Před 6 měsíci +1

    Bhaiya jab ghar kharidenge to Paisa bhi kharch hoga na to phir 5cr se to Kam hi ho jaayega😂😂😂
    But you're working very appreciable
    Thanks bhaiya

  • @VijayStudyClub
    @VijayStudyClub Před 2 měsíci

    00:01 Introduction to Linked List and its importance
    02:17 The strategy to hide and remember money in different locations.
    06:19 Introduction to Linked Lists and advantages of using them.
    08:27 Storing data in a linked list using blocks
    12:40 Introduction to Linked List and Node structure
    14:53 Creating a node in a linked list
    19:19 Introduction to Linked List and basic operations
    21:39 Understanding the process of inserting nodes in a linked list
    25:47 Introduction to Linked List and Node Manipulation
    28:04 Introduction to creating and inserting in a linked list
    32:15 Exploring the concept of Linked List node creation and value insertion
    34:19 Introduction to creating and pointing to a node in a linked list.
    38:36 Introduction to Linked List traversal and insertion
    40:40 Pointer management and memory deallocation in linked lists.
    44:34 Introduction to linked list traversal and insertion
    46:34 Introduction to Linked List traversal and insertion
    50:22 Introduction to Traversal and Insertion in a Linked List
    52:34 Introduction to Linked List traversal
    56:31 Understanding the concept of head pointer in Linked List
    58:28 Illustrating traversal and insertion in a linked list
    1:02:57 Introduction to linked list traversal and insertion
    1:05:23 Introduction to creating and manipulating linked lists
    1:09:51 Learning about linked list traversal and insertion.
    1:11:48 Understanding traversal and insertion in a linked list
    1:15:59 Introduction to linked list traversal and insertion
    1:18:01 Learn insertion at the end of a linked list
    1:22:22 Introduction to creating a linked list node and addressing issues in the list
    1:24:07 Understanding the concept of addresses in linked list creation
    1:27:59 Introduction to creating nodes and linked list in traversal and insertion
    1:30:06 Introduction to Linked List and Traversal
    1:34:13 Introduction to linked list traversal and insertion.
    1:36:05 Creating and traversing a linked list
    1:39:24 Introduction to Linked List and node insertion
    1:41:37 Introduction to linked list traversal and insertion
    1:45:47 Understanding traversal and insertion in a Linked List
    1:47:50 Introduction to linked list and traversal
    1:51:51 Introduction to creating a linked list
    1:53:48 Creating and linking nodes in a linked list
    1:57:42 Introduction to linked list traversal and insertion
    1:59:46 Introduction to Linked List and Traversal
    2:03:49 Inserting a node at a particular position in a linked list
    2:05:42 Introduction to linked list traversal and insertion
    2:09:30 Introduction to Linked List and its dynamic nature
    2:11:17 Explaining the use of vector and dynamic memory allocation
    2:15:00 Introduction to linked list traversal and insertion
    2:16:56 Introduction to linked list and its applications

  • @CodeWithSonu_Shark
    @CodeWithSonu_Shark Před 5 měsíci +1

    Thank you sir abhi lecture start Kiya hoon, dekhta hoon kab khatam hoga

  • @noumanacademy8807
    @noumanacademy8807 Před 3 měsíci

    hn g bhaiya

  • @anupammishra6514
    @anupammishra6514 Před 6 měsíci +2

    1:33:29 bhaiya yaha Tak sara chamak gya h ekdam mast❤❤❤

  • @nanumix3167
    @nanumix3167 Před 6 měsíci +2

    43:43

  • @factinsaan4333
    @factinsaan4333 Před 6 měsíci +2

    Hello bhaiya aapne kya hi oops padhaya wow 👌 DBMS bhi padha dena 😊

  • @expertfreelancer3890
    @expertfreelancer3890 Před 5 měsíci

    bhai ap se anjany ma misatake ho gayi means typo at 1:06:59 pr yhn temp-next= temp nahi ata yhn tail->next = temp ata ha u made our concept clear but it happened from u unconciously so guys agr ap confuse hty ho so correct it 😊😊

  • @arjunkumaryadav8102
    @arjunkumaryadav8102 Před 6 měsíci

    Bhaiya mujhe aap ke jaisa vs code setup karna hai kaise karu samajh nahi plzz guide kar dijiye

  • @GopalKumar-xu3iw
    @GopalKumar-xu3iw Před 6 měsíci

    Day 112/180 done ✅✅✅

  • @roadto_glory
    @roadto_glory Před 2 měsíci

    haa ji bhaiya

  • @ankitchoudhary2914
    @ankitchoudhary2914 Před 6 měsíci +32

    Hello bhaiya... Aj ki class kuch jyada chhota hai😂.. Fir bhi krenge

  • @sagar00121
    @sagar00121 Před 4 měsíci

    Bahuth hi jada maza aa gaya @RohitNegi Bhaiya
    Thanks_a_lot

  • @DesiMrBean7
    @DesiMrBean7 Před 6 měsíci

  • @vineethkumar8094
    @vineethkumar8094 Před 6 měsíci

    @CoderArmy9 thanks for your videos.but one concern your video is going to help only the one who knows hindi...Since it is a programming related and all the developers are going to communicate in the industry in English..why dont you make these kinds aof technical videos in English..so that every one will get benefited from your videos..this is just a suggestion..thank you

  • @anupammishra6514
    @anupammishra6514 Před 6 měsíci

    ❤❤

  • @relaxingtime2411
    @relaxingtime2411 Před 6 měsíci

    Haan Ji Bhaiya Good Morning ❤❤

  • @Coder-rohits
    @Coder-rohits Před 5 měsíci +2

    recursion wala thode upar se gaya bhaiya 1:35:58 .

  • @nikhilPatil-ud2vh
    @nikhilPatil-ud2vh Před 6 měsíci

    Good morning ❤

  • @MathsWithSatyamPandey
    @MathsWithSatyamPandey Před 4 měsíci

    Love ❤you negi bhaiya

  • @5harshitshrivastava
    @5harshitshrivastava Před měsícem +1

    180 days❌
    1 year hopefully✔

  • @lifelonglearner7
    @lifelonglearner7 Před 2 měsíci

    28:00 important

  • @rohitgupta3305
    @rohitgupta3305 Před 6 měsíci

    Function template, class template kee upar ak video bana dijia bhaiya

  • @user-vc9vv7fe4r
    @user-vc9vv7fe4r Před 5 měsíci +1

    52:02 aayen baigan 😂

  • @sanidas7922
    @sanidas7922 Před 4 měsíci

    ❤❤❤❤

  • @machinecode2.047
    @machinecode2.047 Před 6 měsíci

    Ab maja ayega

  • @amorphous8826
    @amorphous8826 Před 5 měsíci

    👍

  • @user-vt2cn6kl3z
    @user-vt2cn6kl3z Před 6 měsíci +2

    Bhaiya backtracking karwa Dena iske baad

  • @alphamath7894
    @alphamath7894 Před 6 měsíci

    Good morning

  • @souravu5121
    @souravu5121 Před měsícem

    16:35 A little mistake AI.data=4,Al.next=NULL

  • @himanshurawat2945
    @himanshurawat2945 Před 2 měsíci

    done

  • @Vimlabhatt-ug6lv
    @Vimlabhatt-ug6lv Před 3 měsíci

    Uttarakhand devo ki bhoomi hai❤❤

  • @satyam6943
    @satyam6943 Před 6 měsíci

    Bhaiya abhi chote lectures banao na plz exams chal rhe hai 9 Feb Tak exam hai

  • @asifmallick371
    @asifmallick371 Před 4 měsíci

    Iss DSA series pe based ek book likh do bhaiya

  • @user-ku6fx7hb6m
    @user-ku6fx7hb6m Před 6 měsíci +2

    5cr hote toh pakka nhi dekhte😂