Understanding and implementing a Linked List in C and Java

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 มิ.ย. 2024
  • Patreon ➤ / jacobsorber
    Courses ➤ jacobsorber.thinkific.com
    Website ➤ www.jacobsorber.com
    ---
    Understanding and implementing a Linked List in C and Java // Linked lists are one of the most fundamental data structures that any computer programmer needs to understand and be able to use. It's linear, like an array, but makes it much easier and faster to insert items into the list and remove things from the middle of the list. This video describes the basic concepts behind linked lists and provides code examples in both C and Java to help you get started.
    Follow-on video about doubly-linked lists:
    • Doubly Linked List (in C)
    ***
    Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.
    About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.
    More about me and what I do:
    www.jacobsorber.com
    people.cs.clemson.edu/~jsorber/
    persist.cs.clemson.edu/
    To Support the Channel:
    + like, subscribe, spread the word
    + contribute via Patreon --- [ / jacobsorber ]
    + rep the channel with nerdy merch --- [teespring.com/stores/jacob-so...]
    Source code is also available to Patreon supporters. --- [jsorber-youtube-source.heroku...]
    Want me to review your code?
    Email the code to js.reviews.code@gmail.com. Code should be simple and in one of the following languages: C, C++, python, java, ruby. You must be the author of the code and have rights to post it. Please include the following statement in your email: "I attest that this is my code, and I hereby give Jacob Sorber the right to use, review, post, comment on, and modify this code on his videos."
    You can also find more info about code reviews here.
    • I want to review your ...

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

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

    A warning to those who try to write the code as it’s shown: Blink and you’re dead
    Great vid btw cheers

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

      Thanks. Yeah, playing back at half speed might help.

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

      Omg

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

      Omg weeping angels run and don’t blink!

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

      @@JacobSorber rushing in this case creates tiny mistakes, also it's easier to understand slower line-by-line when first introduced

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

      @@JacobSorber I watch in 2x :)

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

    NOW I know what pointers are used for in C!! Can’t imagine all the things you could do with them. That’s amazing! Thank you!

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

      I know, right?

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

      Pointers are also very handy for giving a function a pointer to some big data and you won't be moving as many variables

    • @uwu-pq1om
      @uwu-pq1om 2 ปีที่แล้ว +2

      you can even develop hacking software for games using pointers in c++

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

    I'm gonna have to watch this at half speed.... very dense with good info :)

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

      Its actually very intuitive...

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

      i watched it x2

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

      @@thengakola6217 🙇🙇

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

      @@neillunavat depending on how much exposure you've had, but hey take the time to feel good about yourself LOL
      post your github, lets see your projects bud

  • @1309CV
    @1309CV 3 ปีที่แล้ว +74

    Your keyboard must be heaven to ASMR listeners.

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

      makes me anxious af lmao especially when he stops talking, what a disgusting sound xd

  • @a.h.z2830
    @a.h.z2830 4 ปีที่แล้ว +5

    this honestly was the best way to explain the linked lists ,going from the basics and reaching the more complex functionalities ,

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

      Thanks. Glad you enjoyed it.

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

    I have been coding in Python and Java for a couple years now, but C had always seemed very intimidating. I am glad I found your channel. Thank you

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

    Thank you. I really like that you understand what you're talking about and it feels like you really enjoy programming, which makes it fun and easy to follow you.

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

    Amazing video. I am taking an online programing course and for homework, i got stuck with trying to implement a linked-list in C. I understood the theory, but this video helped me see how to actually use it in code.
    Amazing video. Very smart guy. I had to pause the video and write the code in pen for the first 10 mins until I saw what was happening.
    Thank you very much.

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

    This Professor is brilliant. I love using your videos Jacob! They really lit up those areas of my brain that needed to grasp C. From a dull glow to a flashing glare! Thanks so much.

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

    Thank you so much for making this awesome video, I got confused after going through a three-hour lecture. But this video just helps me solve that confusion within 30 minutes.

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

    Dude THANK YOU. You just made me understand pointers to pointers in a single line with that insert_at_head. I always thought it only served to pass arrays of pointers and chars

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

    I'm graduating in May 2021 and preparing for Leetcode and Hackerrank technical interview questions. Jacob, your explanation of how Linked Lists work, and the accompanying C implementation is extremely helpful. I mostly program in garbage collected languages like Python and Java, but after watching re-watching your videos and struggling with my compiler for a while, I feel like I finally understand how Linked Lists are implemented under the hood.

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

      Hope you got your job bro

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

      @@verbisdiablo Thank you! Yes I did get the job and really like it so far. I hope you are doing well.

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

      @@verbisdiablo Thanks! Fortunately I did get the job and it's going well so far.

    • @Mohamed.U3
      @Mohamed.U3 5 หลายเดือนก่อน

      I gotta be honest all of this is great and all but if you're gonna use linked list a lot then implementing them each time will be such an exhausting and time wasting process so it's better that after you understood how they work that you create functions ready for use when ever you want so that you don't implement time every single time.

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

    Thank you so much I really appreciate the effort and patience you put into your videos , I have my exam tomorrow and I was struggling to understand the concept and it's implementation throughout the semester but your explanation came in handy and made things easier for me ; wish me luck 🤞

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

    Perfect demonstration that learning to program only in very high level languages such as Java, Python etc will always hide from you the elegant simplicity and beauty of data structures ...

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

    This is a great video, very grateful for the efort you put into this.

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

    5 minutes in and the explanation is already so helpful. Edit: After going beyond 5 minutes, the speed of his code isn't very convenient really.

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

    Great editing on the video, very well done on explaining this concept and presenting this video in a nice format! Thanks mate :)

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

    Your videos are fantastic. Thank you so much for sharing this knowledge in such a didactic way. Hope to be able to buy your course soon! 👏👏👏👏

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

    "Oh Java i just love your quirks" is my life's motto now

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

      Glad I could help. It's more positive than some of the other java-inspired life mottos.

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

    This guy reminds me of my professor. Covers materials at 100 mph, then asks you got it? Understood? Good. Let's move on.
    Me: Wha.....?

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

      Nobody spoke up. So, I kept going. :)
      Seriously, I do slow down in person, when I can gauge from student faces how things are sinking in. Fortunately, with TH-cam you can replay and watch it at reduced speed.

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

      @@JacobSorber haha true that. I do have difficulty understand some other pieces of the code though that weren't explained what it does. But overall I think better to understand than my professor.

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

    HOLY CRAP I LOVE THIS VIDEO THANK YOU. The general concept just did not click in my head bit watching this video made me realise how it works it all makes sense now. Definitely subscribing just for that.

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

    I think this is the simplest program of linked list, Thank you :)

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

    I love the simplicity and implicity of the content which you created. G bless U

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

    Dude you're awesome. I'm trying to become a cs major and your videos help me out so much!

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

    Simple, informative, easy to understand

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

    Very good tutorial. Quick but also full of information. I like it that it isn't so slow that you can fall asleep. It motivates to stay in focus. :D

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

    Jacob Sorber's contents are just amazing.

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

    And that's how I understood linked list! Thanks a lot for the clear and concise explanation brother, keep the good work ;)

  • @Hersonrock12
    @Hersonrock12 5 หลายเดือนก่อน

    First time working with linked lists, this introduction felt really good!

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

    Thank you sooooooo much for providing such a high quality content for free on youtube

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

    Thank you very much for the video. Revised Linked list in 18 min. I have my interview tomorrow.

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

    Super effective and just what I need. You are my favourite teacher from now on.

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

      Thanks! Let me know if there are topics you want to hear more about.

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

    I wish I could learn this much thing every 18 minutes in my life

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

    Very good explanation. Thank you!!!

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

    Thank you for this awesomely clear tutorial !

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

      You're very welcome.

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

    thank you very much , your videos are so simple to understand yet so enriched with information and well explained details
    i tried to save a linked list and to save in a binary file then reading it but i struggled a lot if make a video about this topic that would be great !!

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

    That sound while typing is super cool!

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

    Thank you so much, Sir! That was a great video!!!!

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

    Thank you!! This video helped me so much

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

    One cool trick with linked list and arrays is instead of having a really long array, or a really long list, you have a linked list of pointers to multiple arrays. That way you can easily sort values into arrays without a single one getting too large.

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

      That's a trie, isn't it?

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

    very good video! very easy to understand

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

    THE FIRST 30 seconds!! you called me out majorly lol. I was speaking with my prof about some confusion on an assignment (I'm a senior) and he said "well linked lists are something you know already from your intro classes so that part should be easy" I immediately clammed up out of embarrassment and now here I am. Thank you for making this video.

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

    thanks for explaining all of this so succinctly

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

    what an underrated channel, thanks!

  • @mx-trp1307
    @mx-trp1307 ปีที่แล้ว

    You do a great job! Thanks.

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

    Thank you very much, your video helped me a lot

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

    Thanks for sharing, bro!😄😄

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

    Please make more videos on data structures. Your videos are very easy to grasp. Thanks.

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

      Thanks. I posted one today, and have a few more planned.

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

    you are awesome man really love the explanation thanks a lot

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

    this is helpful and all but you don't have to fast forward; it makes it really hard to keep up with what you're doing

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

    Awesome explanation! Subscribed!

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

    Honestly this explain is better then my college professors but you code so fast! Thank you for explaining this better!

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

      Thanks. Glad it helped.

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

    You forgot to free up the dynamically allocated nodes.
    The video was really helpful.

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

    This is awesome!
    Pretty neat!
    Thank you

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

      You're welcome. Glad you enjoyed it!

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

    Thank you so much !! I didn't know how to manipulate my *head pointer well to find a node in my list for inst. This was so confusing but now i know better thanks to you :D

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

      You're welcome. Glad I could help.

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

    thank you very much. It is really helpfull

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

    Hey, Jacob. Thanks for touching the structures. Tell us about more specific or less used structures as pyramid or quadtree. That would be great.

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

      I agree, it can be really nice to have some videos about less common data structures.

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

    very helpful, thanks

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

    Simplest and clear singly linked list tutorial, I have seen till now. Cheers.

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

    Brilliant tutorial, thanks a lot!

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

      You're very welcome!

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

    Very nice tutorial

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

    Thanks, i would be awesome if your channel were there during my college :)

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

    That was super helpful...:)

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

    I swear, this video better get 500k views at least.. mans explaining with ease

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

      Thanks, Mauro! I'm glad you liked it.

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

    love it thanks, could even build trees with this

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

    Sir, Thank you.

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

    thanks bro it was really help full for me

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

      You're welcome. Glad it helped

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

    Amazing!!

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

    dang your keyboard sounds really good.. Also thanks for the java piece

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

    Great video.

  • @user-mx6gi8fy6j
    @user-mx6gi8fy6j 2 ปีที่แล้ว

    i swear to god literally make 3-4 hour long ASMR videos of you just coding whatever with that keyboard guaranteed 2 million views

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

    You are a beast at coding man, I'm a student at the school 42, I need to learn this data structure quickly for a project

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

      Thanks. Make sure you don't just learn it quickly. Learn it well. That way you won't have to learn it again in a month or two. :)
      Best of luck.

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

    You're the best man ... Can you please make a video on struct node** head_ref and struct node* head_ref ? I'm just confused with double pointers in linkedlist.

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

    Beautiful!

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

    Thank you computer science Matthew McConaughey! This saved me on my project.

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

    Thanks for the vid!

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

      You're welcome. Glad I enjoyed it.

  • @snsnsn3
    @snsnsn3 5 หลายเดือนก่อน

    Awesome!

  • @arielle-cheriepaterson3317
    @arielle-cheriepaterson3317 4 ปีที่แล้ว

    Thank you so much!!

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

    The pointer to the first node in the list is passed by value, so you don't need the temporary variable to print the elements in the list.

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

      You are right. I tested it and had the same results

  • @musaabmahjoub3244
    @musaabmahjoub3244 9 หลายเดือนก่อน

    Thank you very much for the wonderful explanation. I would to add a function to free memory after we have used it.
    void free_list(node_t *head)
    {
    node_t *tmp = NULL;
    while (head !=NULL)
    {
    tmp = head; // Store the current head to tmp
    head = head->next; // Move to the next node
    free(tmp); // Free the current node
    }
    }

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

    Hairless Matthew McConaughey just taught me a lot about coding. Thanks :3

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

    I like that you are one of the only I have seen that type at the same speed as me

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

      😂

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

      @@JacobSorber I ask if you ever considered using rust instead of c and c++? In a comment on another of your videos. Just interested because i come From a language theory perspectiv so it is fun to hear the what you thought about it.

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

    one of the best videos about linked lists. enjoyed it although i'm not new to this topic. would've liked a little bit big-o-notation though.
    and - some addition to the still outstanding content - i think calling them 'chains' instead of lists would be more intuitive.

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

    Thank you for the video. I do have to say the portions where you actually write code are simply too fast for me. I am aware I can pause but I might have to pause every 2 seconds at some parts which gets tedious quickly.

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

    I really like the way you explain. Being a C developer and given the fact that linked-lists were uncharted areas for me, i found this really helpful.
    In fact i fixed a bug in a piece of code at work that i had implemented. :)
    It would be really interesting to see free memory malloced for the nodes, once you're finished with linkedLists work.

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

      Thanks. I'm glad it was helpful.
      I don't completely understand your request, though. Are you wanting to see how memory allocators work? Or are you looking for some variant on what I did here with my linked list?

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

      @@JacobSorber actually a variant. You could show how the allocated memory can be freed, once the work with linkedlist has been completed. I would also typecast those mallocs like (node_t*)malloc since they return void* by default. :-)

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

    Great video

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

    sir i look first 3 minutes of this video and l i love you and yor channel thank for sharing your knowledge 🖤🖤🖤🖤🙏🏻🙏🏻🙏🏻🙏🏻

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

    🔥🔥 Dope intro

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

    I'll say something & probably will get lambasted, I've been through 10 to 20 tutorials on DSA. I search DSA through C/C++ on TH-cam and hundreds of subpar, half-arsed tutorials of incompetent people ( who possibly don't even know what they're doing ) pops up and it's so annoying because not only you've a problem that require DSA comprehension but now you also have another issue of finding a decent resource. I'm glad I found this channel amid heaps and piles of trash.
    Thank You!

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

    probably the only programming tutorial out there that has to be slowed down(playback speed!)

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

    Very good !

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

    I'm not sure if this is that best way to handle this, however in the video there was no code on adding a node to the end of the list so I came up with this. Where you pass in the head of the list and the create_new_node function. ex. insert_at_end(head, create_new_node(55));
    void insert_at_end(node_t *head, node_t *newnode){
    node_t *tmp = head;
    while(tmp->next){
    tmp = tmp->next;
    }
    tmp->next = newnode;
    }

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

    @4:20... Jacob's Ladder 🤣🤣

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

    Very nice explanation of linked list. Thank you very much! Do you have a public repo with this example?

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

      Thanks. I'm glad it helped. Source code is available via Patreon. More info in the video description.

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

    8:45 yes, I am indeed enjoying this video😁

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

    could you make a video where a linked list had various data types in a single node? Also could you show various ways of driving the code besides the ones in this video... for example what if i want to populate the node via command lines args or via scanf? And also could you explain writing function with pointers and so on, like functions that take struct pointers in.

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

    Subbed!

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

      Welcome! Thanks for the support.

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

    This is a bit meta, but how do you feel about approaching data structures from different angles, prog lang wise? This is a bit early for me (still undergrad), but I really enjoy teaching so far and am thinking about how I'd approach this myself. For example, I didn't really get the utility of sum types until I looked at how much simpler they make implementing binary trees.

  • @Aziz-jr3kq
    @Aziz-jr3kq 4 ปีที่แล้ว

    the sound of keyboard is awesome

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

    ty