Queue Using Linked Lists

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024
  • How to Implement queue using Linked List: This video will talk about queue using linked list data structure in hindi. Queue can be implemented using array which was discussed in my queue using array video. Now we will discuss about queue using Linked List
    ➡Download Source Code & Notes here: codewithharry....
    ➡Join this DS & Algo course & Access the playlist: • Data Structures and Al...
    ►Checkout my English channel here: / programmingwithharry
    ►Click here to subscribe - / @codewithharry
    Best Hindi Videos For Learning Programming:
    ►Learn Python In One Video - • Python Tutorial In Hin...
    ►Python Complete Course In Hindi - • Python Tutorials For A...
    ►C Language Complete Course In Hindi -
    • C Language Tutorials I...
    ►JavaScript Complete Course In Hindi -
    • JavaScript Tutorials I...
    ►Learn JavaScript in One Video - • JavaScript Tutorial
    ►Learn PHP In One Video - • Learn Php In One Video...
    ►Django Complete Course In Hindi -
    • Python Django Tutorial...
    ►Machine Learning Using Python - • Machine Learning Tutor...
    ►Creating & Hosting A Website (Tech Blog) Using Python - • [Hindi] Web Developmen...
    ►Advanced Python Tutorials - • Intermediate/Advanced ...
    ►Object Oriented Programming In Python - • Object Oriented Progra...
    ►Python Data Science and Big Data Tutorials - • Python Data Science an...
    Follow Me On Social Media
    ►Website (created using Flask) - www.codewithhar...
    ►Facebook - / codewithharry
    ►Instagram - / codewithharry
    ►Personal Facebook A/c - / geekyharis
    Twitter - / haris_is_here

ความคิดเห็น • 288

  • @anjalibajaj8824
    @anjalibajaj8824 3 ปีที่แล้ว +114

    Regularly attending ur lecture vdos 💓 and now i. Can say DS is really easy if u rthe student of Harry sir

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว +1

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

    • @nextnotification9857
      @nextnotification9857 ปีที่แล้ว

      Okkk

    • @seriousblack9145
      @seriousblack9145 6 หลายเดือนก่อน

      ​@@ojasvajain mere pass sare notes hai

    • @anshuldadhich738
      @anshuldadhich738 4 หลายเดือนก่อน

      @@seriousblack9145 bhaii kha se download kiye?

  • @mihirjoshi8934
    @mihirjoshi8934 2 ปีที่แล้ว +24

    I understood every single thing in this playlist of yours up till now! Kudos Harry sir✌🏻😅
    Thanks a lot ❤️

  • @knowtechwithaman7254
    @knowtechwithaman7254 3 ปีที่แล้ว +17

    23:30 using linked list enqueue and dequeue smajh m aa gya Harry Sir. The playlist is amazing going for me, thanku Harry Sir😊😊💖💖

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

  • @JosephShambrook
    @JosephShambrook 4 ปีที่แล้ว +13

    Your last video, since removed, has only hurt the open source community, and made it less likely for maintainers to take new contributers seriously. Thanks a bunch.

  • @myselfarav3024
    @myselfarav3024 4 ปีที่แล้ว +18

    WhiteHat teaches ML & AI for 100000rs. and not much output.
    Harry teaches it for 0 rs and cool projects like J.A.R.V.I.S.
    Sir your channel is the best in the universe...

  • @abhinav7297
    @abhinav7297 4 ปีที่แล้ว +12

    This man deserve so much respect.... appreciate the hard work..❤️
    Thank you...by this I'm learning alot...

  • @utkarshagrawal853
    @utkarshagrawal853 3 ปีที่แล้ว +7

    you make very helpful videos..... thank you from the depth of heart 💗💗

  • @yashjain7248
    @yashjain7248 3 ปีที่แล้ว +11

    Sir , please continue this playlist and update notes!!!! it's a humble request. You videos are always amazing .
    Thank You

  • @abhirashmikumari8097
    @abhirashmikumari8097 3 ปีที่แล้ว +24

    harry keep updating the playlist daily waiting for your videos :(

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว +1

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

    • @kushal6065
      @kushal6065 2 ปีที่แล้ว +2

      @@ojasvajain Make your own notes. I made notes by going to his website and there are theory he had typed in his website.

  • @rahulgovindkumar3105
    @rahulgovindkumar3105 3 ปีที่แล้ว +13

    harry keep updating the playlist daily waiting for your videos :)

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

  • @pavanpandya9080
    @pavanpandya9080 4 ปีที่แล้ว +8

    This man deserved much respect.... Awesome Explanation ❤️.....My DSA is getting stronger😎

  • @than0s869
    @than0s869 2 ปีที่แล้ว +3

    Harry bhai, front and rear pointer Handel karneki zrurt nhi he naaa.head se Kam chal jayega naa..?😕

  • @himanshu_047
    @himanshu_047 2 ปีที่แล้ว +11

    50% of the course is completed ❤️😌

    • @rollercoaster9719
      @rollercoaster9719 2 ปีที่แล้ว +2

      lol 92/2=46 kiddo go back to school smh

  • @omnikam3045
    @omnikam3045 4 ปีที่แล้ว +6

    Thanks for uploading data structures video pls continue this ❤️❤️❤️

  • @palashgupta5355
    @palashgupta5355 2 ปีที่แล้ว +3

    Your DS playlist has made a huge impact on every student. Great explanation. 🤝🤝

  • @ashwinichole542
    @ashwinichole542 3 ปีที่แล้ว +15

    completed series in 2 days. watching daily 10 hrs.

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

    • @bartosz3667
      @bartosz3667 3 ปีที่แล้ว

      Gajab topibaaz aadmi jo lala...krte kaise ho ye sab

    • @abhishekjha8220
      @abhishekjha8220 3 ปีที่แล้ว +2

      @@bartosz3667 amol hai na.. 😂 Isiliye koi mol nhi hai iski baat ka ham sb pr ye kam bs amol hi kr skta hai.. Hm log ke pass utna mol nhi hai.. 😂

    • @sudarshanmhaisdhune1039
      @sudarshanmhaisdhune1039 2 ปีที่แล้ว +1

      Kya ukhaad liye itna fast seekhke bhai 😂......question puchhne pe to tu google krke answer bataega😥

    • @gyanaranjansahoo6258
      @gyanaranjansahoo6258 2 ปีที่แล้ว

      practice in rest 14 hrs ?XD

  • @shatviksmit3388
    @shatviksmit3388 3 ปีที่แล้ว +3

    4:04
    as I understand it we can say that deletion at front is the same as deletion at first index and insertion at back is the same as insertiona at last

  • @noi375
    @noi375 3 ปีที่แล้ว +6

    Thank you for this DSA course

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

  • @kmcaptaingamer5145
    @kmcaptaingamer5145 3 ปีที่แล้ว +4

    Such a informative lectures you take Bhai.
    ❤️

  • @tushardimri1796
    @tushardimri1796 4 ปีที่แล้ว +11

    I am with you Harry Bhai.
    Everything i know about coding is thanks to you.
    Keep up with your videos.

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

  • @ankanderia4999
    @ankanderia4999 3 ปีที่แล้ว +4

    I learnt a lot from this video 🔥🔥

  • @harshadgedam7581
    @harshadgedam7581 2 ปีที่แล้ว +1

    Sir aapka ye video dekhne se bhi pahle maine Queue ko khud se hi bana liya 😀😀😀😀 ....dimag laga kar ...kyu ye sab aap pahle hi padha chuke ho bas logic alg lag raha he😀

  • @naammekyarakhahai2207
    @naammekyarakhahai2207 2 หลายเดือนก่อน

    When harry bhai was recording these video he only got 1600-1800 view lekin dedication dekho yaar video me ❤ hats off

  • @vaibhavgupta4413
    @vaibhavgupta4413 3 ปีที่แล้ว +3

    Thanks for your help brother 🙏🙏🙏🙏

  • @anonymousgerman2809
    @anonymousgerman2809 2 ปีที่แล้ว +1

    Bohot badiya harry bhai ek number

  • @nitish3708
    @nitish3708 3 ปีที่แล้ว +2

    Thanks sir

  • @rupalihaldiya
    @rupalihaldiya 3 ปีที่แล้ว +5

    7:30 sir back pointer chahiye hoga agar En-queue kara rahe hai toh..

  • @priyanka8217
    @priyanka8217 2 ปีที่แล้ว +1

    Thank you so much sir you are doing such a great work for students

  • @aayushgupta8606
    @aayushgupta8606 3 ปีที่แล้ว +2

    You are great sir.....

  • @Pr3kashSingh
    @Pr3kashSingh 2 ปีที่แล้ว +1

    Successfully Watched and Shared . Thank U very Much.

  • @unacceptable_truth_
    @unacceptable_truth_ 8 หลายเดือนก่อน +1

    00:04 Queue can be implemented using linked lists
    02:42 Queue is implemented using linked lists with front and rear pointers.
    05:15 Enqueue operation in a queue implemented using linked lists
    08:14 Creating a new node and connecting it to the queue
    11:26 Creating connections and updating front and rear pointers when adding a new node to the queue
    15:19 Enqueue and dequeue operations in a queue using linked lists
    19:20 Implement dequeue using linked lists
    23:18 Implementing queue using linked lists

  • @kashishshukla23
    @kashishshukla23 3 ปีที่แล้ว +3

    Great video!

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

  • @suyashsuvare
    @suyashsuvare 3 ปีที่แล้ว +2

    Hats off to you harry sir....

  • @gauravmalik9c867
    @gauravmalik9c867 4 ปีที่แล้ว +2

    Sir you are great ☺️ teacher 🎉🙏😀☺️😎😀

  • @sachinprajapatkd
    @sachinprajapatkd 2 ปีที่แล้ว

    maja aa gya bhai
    thara bhai.......

  • @hansrajshokal302
    @hansrajshokal302 3 ปีที่แล้ว +1

    mast bhai
    keep it up

  • @mohdimran-kp4vr
    @mohdimran-kp4vr 3 ปีที่แล้ว +2

    Bhai mujhe ek bat janni hai ye topic c,c++ dono k liye common hai.ya fir kwl c k liye hai

  • @Rutuja15paulzagade
    @Rutuja15paulzagade 6 หลายเดือนก่อน +1

    Thank u sirji❤

  • @deorirandomcreation
    @deorirandomcreation ปีที่แล้ว +1

    really it is helping me alot harry bhaiya

  • @soniamalik4929
    @soniamalik4929 3 ปีที่แล้ว +3

    Dislike walo ke andar akal nhi h itni best teaching smjh ske..that's why...JB akal ayegi then they will like the vedios.

    • @Ashish123
      @Ashish123 3 ปีที่แล้ว +1

      right , boht logo ne faltu ka dislike kr diya h

  • @DipsOfficial802
    @DipsOfficial802 ปีที่แล้ว +1

    Thank you Harry bhai for such a great course 🙏🙏🙏

  • @NitinKumar-xm7hu
    @NitinKumar-xm7hu 3 ปีที่แล้ว +4

    16:12 I think the condition should be if(r==NULL) instead of if(f==NULL) as f will be NULL always .

    • @dhananjayjadhav7064
      @dhananjayjadhav7064 3 ปีที่แล้ว +1

      Bhai r hamesha null rehta hai
      F==null ho gaya matlab linked linked list me koi element nahi hai
      Got it bro👍

  • @vikaspargai8330
    @vikaspargai8330 3 ปีที่แล้ว +3

    Thank u 💖

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

  • @saritakumari-oh8fs
    @saritakumari-oh8fs 3 ปีที่แล้ว +2

    Nice explanation Sir...

  • @vilakshangupta3200
    @vilakshangupta3200 ปีที่แล้ว +1

    Great Video !!!!!!!

  • @harshitrathi3077
    @harshitrathi3077 4 ปีที่แล้ว +2

    We Support You Harry Bhai !!

  • @deadpoolfather7785
    @deadpoolfather7785 4 ปีที่แล้ว +2

    Please make video on Rasberry Pi

  • @udaykirankavaturu6942
    @udaykirankavaturu6942 11 หลายเดือนก่อน

    Harry bhaiya done with this thank you 24:19

  • @ajinkyajadhav8049
    @ajinkyajadhav8049 3 ปีที่แล้ว +3

    quality :)

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

  • @divyankapatil925
    @divyankapatil925 4 ปีที่แล้ว +6

    harry sir please make course on unity 3d or unreal game engine with c++ and python

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

    • @himanshugupta325
      @himanshugupta325 3 ปีที่แล้ว

      For Unity tutorials, see brackeys and jason weimann.

  • @jinsishahcs7889
    @jinsishahcs7889 2 ปีที่แล้ว +2

    thank you for making concepts crystal clear

  • @ayushgupta8538
    @ayushgupta8538 2 ปีที่แล้ว +2

    Guys make sure to like to appreciate this free lecture

  • @ex-pwian1190
    @ex-pwian1190 2 ปีที่แล้ว +2

    if n==NULL is condition for isFull, then we can create nodes up to stack overflow?

  • @dkvlogs5745
    @dkvlogs5745 4 ปีที่แล้ว +4

    herry bhai please tenserfloww installation ka one video bano .please bhai .me install nehi kar pa rahi hu

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

  • @adhikari_rajan4115
    @adhikari_rajan4115 4 ปีที่แล้ว +2

    harry bhai what is cookied and how to write and read on javascript plz make a video plz

  • @Forever._.curious..
    @Forever._.curious.. 2 ปีที่แล้ว

    Indeed Great sir in need 💖💖

  • @ShaksD-vf3go
    @ShaksD-vf3go หลายเดือนก่อน

    Goat=harry bhai❤❤

  • @Surajmathur-qj9tl
    @Surajmathur-qj9tl 4 ปีที่แล้ว +1

    Nice concept sir

  • @rajputchiragsingh5929
    @rajputchiragsingh5929 2 ปีที่แล้ว +1

    We can assign size by define size at top

  • @pratyushshishodiya8618
    @pratyushshishodiya8618 3 ปีที่แล้ว

    bhai bhut acchi video

  • @royfamily9273
    @royfamily9273 2 ปีที่แล้ว

    Thanks Harry Bhaiya

  • @apstudio6476
    @apstudio6476 4 ปีที่แล้ว +5

    bro please continue your python practice programs series.

  • @MensAttitude
    @MensAttitude 8 หลายเดือนก่อน +1

    @codewithharry - 10:20 I have a small question here, for the queue full we are using the condition if node==NULL which realistically speaking will never reach that point because all the empty space in the RAM can store a large number of such variables. If I want to control the size like size=10, then is that possible using the linked list implementation?

    • @chayanmallick939
      @chayanmallick939 7 หลายเดือนก่อน

      Yes bro just make a counter int variable that keeps updating with each enqueue operations and also check is its value is less than value set by you ie 10 if not then stop enqueue

  • @kimjongun2217
    @kimjongun2217 4 ปีที่แล้ว +3

    Harry Bhai bhi controversy me phs gya😌😌😌

  • @BhupeshRajShakya
    @BhupeshRajShakya 4 ปีที่แล้ว +2

    harry bro flutter ka tutorial kam ayega??

  • @pankajmalviya7255
    @pankajmalviya7255 4 ปีที่แล้ว +1

    excellent work bro.

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

  • @tremendoussuccess7463
    @tremendoussuccess7463 2 ปีที่แล้ว

    Thanks for this video Harry bhai

  • @Heartfelt656
    @Heartfelt656 6 ชั่วโมงที่ผ่านมา

    maza agaya bhai

  • @Bhakt_Ki_Bhakti
    @Bhakt_Ki_Bhakti 3 ปีที่แล้ว +1

    such a good playlist

  • @error8940
    @error8940 4 ปีที่แล้ว

    happy ghandi jayanti harry bhai

  • @bulukivine8238
    @bulukivine8238 3 ปีที่แล้ว +1

    Upload more vedios on DSA harry bhai

  • @jimitsoni18
    @jimitsoni18 3 ปีที่แล้ว +2

    PLEASE MAKE VIDEOS FOR TREE DATA TYPE TOO

  • @ambapatel9925
    @ambapatel9925 ปีที่แล้ว +1

    amazing content 👌

  • @Rud331
    @Rud331 2 ปีที่แล้ว +2

    why in queue array implementation we don't free memory like we did in linked list after dequeueing

  • @rashidaziz2215
    @rashidaziz2215 3 ปีที่แล้ว +2

    Why so many dislikes 🙄 it's such a great vedio

  • @RareRabbit05
    @RareRabbit05 4 ปีที่แล้ว +2

    Make on Advanced Java In One Video.....

  • @sarveshkapoor7177
    @sarveshkapoor7177 3 ปีที่แล้ว +1

    Bhai continue the data structure series

  • @Kumarsingh-p23
    @Kumarsingh-p23 3 ปีที่แล้ว +1

    maths for machine learning pe video banao please

  • @yashpatel7586
    @yashpatel7586 4 ปีที่แล้ว +3

    harrybhai aapse personally contect kese kare !

    • @ojasvajain
      @ojasvajain 3 ปีที่แล้ว

      kisi ke pass sare notes hai kya ek jagha plzzz ho to bhej do

  • @KalyaniTalks
    @KalyaniTalks 4 ปีที่แล้ว +1

    Harry vo Djano rest framework ke upper bhi ek video bna do na 😐

  • @mhamzabutt0343
    @mhamzabutt0343 4 ปีที่แล้ว +2

    Harry bhaaii Data Structure python mai b sikhaa do

  • @Ashish123
    @Ashish123 3 ปีที่แล้ว +1

    why so many dislike kya dikkat h bhai , itne achhe se to harry bhai ne smjhaya aur kya chahiye 😑

  • @ahmadmughal5485
    @ahmadmughal5485 4 ปีที่แล้ว +1

    Bhai vba course b lao

  • @subham2593
    @subham2593 4 ปีที่แล้ว +1

    Love you bro

  • @bizwrks2598
    @bizwrks2598 2 ปีที่แล้ว +1

    bhaiya pls make more videos on dsa regarding algorithms and heaps, hashing, etc.

  • @subscribe-rockgsg
    @subscribe-rockgsg ปีที่แล้ว +1

    what if there exist only one node in the list then pointer "r" should also be update. am I right or wrong??

  • @statusbajar7605
    @statusbajar7605 4 ปีที่แล้ว +1

    Wow....🔥🔥🔥

  • @thanosop7259
    @thanosop7259 2 ปีที่แล้ว +4

    code of queue in linked list without front and rear pointer :-
    but dequeue time complexity is O(n)....
    #include
    using std::cout;
    using std::cin;
    class queue
    {
    public:
    int data;
    queue *next;
    };
    queue *head = NULL;
    void enqueue()
    {
    queue *New = new queue[sizeof(queue)];
    if(New == NULL)
    {
    coutnext = NULL;
    if(head == NULL)
    head = New;
    else
    {
    queue *temp = head;
    while(temp->next != NULL)
    {
    temp = temp->next;
    }
    temp->next = New;
    }
    cout

    • @atifmalik8012
      @atifmalik8012 20 วันที่ผ่านมา

      @thanosop7259
      Brother EnQueue time complexity is O(n). Not DeQueue.

  • @KalyaniTalks
    @KalyaniTalks 4 ปีที่แล้ว +2

    🤩👍

  • @homeliving2462
    @homeliving2462 4 ปีที่แล้ว +2

    Java ki playlist continue karo pls Harry bhai

  • @ArmanKhan-lr8sn
    @ArmanKhan-lr8sn ปีที่แล้ว +1

    When ee are making a queues ,where does the 'r' points to?

  • @Rahulkumar-mt9kc
    @Rahulkumar-mt9kc 4 ปีที่แล้ว +2

    Sir data structure full video bnao with nots ke sath

  • @sudhirkumarpatel8568
    @sudhirkumarpatel8568 2 ปีที่แล้ว

    Thanku so much

  • @ROHITKUMAR-xp2xe
    @ROHITKUMAR-xp2xe 3 ปีที่แล้ว +1

    koi btaega isme f to hmesha null pe he rehta h chahe kitne element daalo to fir empty condition jo h wo to hmesha true kregi element hone k bawjud plz clear kro

  • @BLACKSHEEPGAMINGYT
    @BLACKSHEEPGAMINGYT 4 ปีที่แล้ว +1

    Sir web designing course kar raha hu apka. Chote mote websites banaya But website ka link agar mobile me open karte he ya other device pe open karte he to nhi open hota . Pls tell why . Website Only jisme tayar kiyi he usime open ho rahi he. Pls guide.

    • @Khanarmaanrokz
      @Khanarmaanrokz 3 ปีที่แล้ว +1

      you have to buy a domain for that.
      what you're making is just locally in your PC.

  • @deepshikhatales6104
    @deepshikhatales6104 3 ปีที่แล้ว +2

    Sir.. We need daa playlist

  • @mrsrajawat2728
    @mrsrajawat2728 4 ปีที่แล้ว +3

    In jarvis program , it stucks on listening . Please help harry

    • @yashasvibhatt1951
      @yashasvibhatt1951 3 ปีที่แล้ว

      Either Stop sound-sources from generating any extra noise, (since PyAudio documentation says that it will kept on taking voice input until the microphone stops reading voice input) like sound from fans, TVs, Refrigerator (yes refrigerator even though it generates so much less voices but PyAudio is too much sensitive that it can even react to low frequency voices) etc Or use Microphone to give Voice Input. You could also do, decrease energy_threshold value, set it around 200-250 but not less than 150 because 150 is too much low for PyAudio to even recognize that you have given a Voice Input. Higher the Energy Threshold Value, higher will be the PyAudio Sensitivity.

  • @BEESaiShivam
    @BEESaiShivam 3 ปีที่แล้ว +2

    we could have directly stored value of f in val instead of making new node. :)

    • @creaturetrendy
      @creaturetrendy 3 ปีที่แล้ว +3

      Then which node u will free after dequeue?

  • @RaviRanjan-mi1xk
    @RaviRanjan-mi1xk 3 ปีที่แล้ว

    Bhai hum enqueue ko head se nahi kar sakhte kya?
    Please reply

  • @satyamkarn3277
    @satyamkarn3277 2 ปีที่แล้ว

    Maza aaya aur mai ye maza CS k har student ko dena chahta hu😁😁