C# LinkedList Tutorial How to Use A Linked List

  Рет қаралды 48,122

Journey To Programming

Journey To Programming

Күн бұрын

C# LinkedList Tutorial How to Use A Linked List
Quick tutorial on how to use LinkedLists in C#. A LinkedList may not be the most commonly used structure out there, but its implementation is a common question that's faced in technical interviews. There are also cases where you may choose to use one when implementing collision handling in Hash Tables. So, check it out!
▶ Check out my gear on Kit: kit.co/ejsd1989
If you haven't checked out our website, then here it is: www.journeytoprogramming.com
Like us on Facebook: / journeytoprogramming
We've also got a book releasing soon that's all about dominating the job hunt. Check it out here: www.amazon.com/dp/b07s7ll1ch
Want us to review your resume and cover letter? Shoot us an email at contact@journeytoprogramming.com and we'll take a look.

Пікірлер: 73
@davidmcrae5434
@davidmcrae5434 3 жыл бұрын
I already know all of this was watching just as a reminder but don't stop making videos deffo one of the best explanations I've seen, helps that your voice doesn't put me to sleep either haha.
@journeytoprogramming5289
@journeytoprogramming5289 3 жыл бұрын
Much appreciated!
@formerfatboy90
@formerfatboy90 Жыл бұрын
Hey, thanks so much for this. I've done a couple of learning sessions for linked lists at my developer job. You really helped me understand the process better.
@phillyphill5228
@phillyphill5228 2 жыл бұрын
Thanks for this tutorial. I'm working on an assignment on LinkedLists and sadly our instructor barely discussed them! You helped me out a ton, thank you again!
@kathyclemons939
@kathyclemons939 2 жыл бұрын
you were more helpful than my college professor and you're free! subbed and liked hope that helps :)
@zakerdoodle
@zakerdoodle 2 жыл бұрын
Brilliant! Extremely helpful, thank you!!
@edithedith1974
@edithedith1974 2 жыл бұрын
The simplest explanation ever, thank you.
@tiaanadlem
@tiaanadlem 9 ай бұрын
Thanks so much for the great explanation. Linked lists was doing my head in.
@wholesomedegenerate869
@wholesomedegenerate869 2 жыл бұрын
I understood in 17 minutes what my professor had been jabbering on for about an hour haha Thank you for the video!!
@eyobaleameha7345
@eyobaleameha7345 Ай бұрын
finally after going through so many videos I was able to piece everything together or atleast this much thank you!
@atheeralattar8893
@atheeralattar8893 11 ай бұрын
You deserve to be known, great job!
@jopaslona1
@jopaslona1 Жыл бұрын
Using linked lists in C# is so much better than in C. Don`t have to bother with all of this pointers and dynamic memory allocation madness. Thank you very much!
@catherineb1940
@catherineb1940 4 жыл бұрын
Thank you! 🙌 you explained this so well! 👌
@journeytoprogramming5289
@journeytoprogramming5289 4 жыл бұрын
Thanks for checking out the video, and for your kind words!
@peculiarpeculiar2504
@peculiarpeculiar2504 2 жыл бұрын
I just finished the video and it was wonderful to be honest.
@bluestripes6037
@bluestripes6037 11 ай бұрын
Thank you, you're a very good explainer.
@ronjohnson123
@ronjohnson123 3 ай бұрын
great video, 100% one of the best explanations ive seen
@journeytoprogramming5289
@journeytoprogramming5289 3 ай бұрын
Wow, thanks!
@andrewmccoy3773
@andrewmccoy3773 2 жыл бұрын
this video is perfect thanks
@michaelgraf49
@michaelgraf49 3 жыл бұрын
Thanks dude needed this for a programming test (:
@heartagram_andreea
@heartagram_andreea 3 жыл бұрын
clear and concise explanation! thank you!
@journeytoprogramming5289
@journeytoprogramming5289 3 жыл бұрын
Glad it was helpful!
@lazarnikolovski7571
@lazarnikolovski7571 2 жыл бұрын
Thank you so much!! Such a great explanation!
@journeytoprogramming5289
@journeytoprogramming5289 2 жыл бұрын
Glad it was helpful!
@athariealfuraih8115
@athariealfuraih8115 3 жыл бұрын
Thank you so much !!! highly recommend this video ( very simple explanation )
@journeytoprogramming5289
@journeytoprogramming5289 3 жыл бұрын
Glad it helped!
@deaconuadrian6554
@deaconuadrian6554 2 жыл бұрын
Thank you for the video
@lukasgraw5129
@lukasgraw5129 2 жыл бұрын
Great video
@usmankiyani5209
@usmankiyani5209 4 жыл бұрын
Thank you so much!
@journeytoprogramming5289
@journeytoprogramming5289 4 жыл бұрын
Thanks Usman!
@amikawi
@amikawi 3 жыл бұрын
Really helpful video. Thanks!
@journeytoprogramming5289
@journeytoprogramming5289 3 жыл бұрын
Glad it was helpful!
@johnbrown-zm3xl
@johnbrown-zm3xl 4 ай бұрын
good tutorial, cleared a lot of things up
@journeytoprogramming5289
@journeytoprogramming5289 3 ай бұрын
Glad it helped!
@wahwah12wahwah12
@wahwah12wahwah12 3 ай бұрын
great explanation!
@journeytoprogramming5289
@journeytoprogramming5289 3 ай бұрын
Glad you think so!
@prachiksh
@prachiksh 4 жыл бұрын
Very well explain from scratch Got the concept Visual explanation was brilliant Thankyou
@journeytoprogramming5289
@journeytoprogramming5289 4 жыл бұрын
Glad to hear it. If you have any other questions about data structures then we'd be happy to try and help explain those too.
@rahuljadhav4987
@rahuljadhav4987 3 жыл бұрын
Thanks a lot :)
@omersultan6419
@omersultan6419 3 жыл бұрын
This is such a great video! Thanks for the concise explanation and great examples
@journeytoprogramming5289
@journeytoprogramming5289 3 жыл бұрын
Glad it was helpful!
@be_it_a_15_chinmay_dali74
@be_it_a_15_chinmay_dali74 3 жыл бұрын
Very well explained mate! I have a question it maybe a stupid one but the thing is I written these programs in C++ where we can use pointers and you explained it the same way which was great btw but the thing I am struggling right now is that "how does C# interprets these references without since C# doesn't support pointers"
@tharwania
@tharwania 2 жыл бұрын
everything class object in c# is pointer
@ravindharnalagati4274
@ravindharnalagati4274 4 жыл бұрын
thanku soo much for this in order to reterive from file like string type n how to store in linked list
@journeytoprogramming5289
@journeytoprogramming5289 4 жыл бұрын
I'm glad that the video was helpful to you. Did you end up getting your project done?
@vizijayt
@vizijayt 3 жыл бұрын
The simplest explanation ever, thank you. Can you tell for what kind of the tasks linked lists are good for?
@journeytoprogramming5289
@journeytoprogramming5289 3 жыл бұрын
Hey, I'd say that the utility of linkedlists in day to day development is really dependent on what sort of work you're doing. If you need to maintain history, sequences, and want to use a Linkedlist, then I don't think anyone would mind. It's node based mechanics and dynamic size make it relatively simple to use. A common example is maintaining a history in software that you may use to edit photos. You may want the ability to step backwards/forwards through your previous actions, and this can be maintained fairly well with a Linkedlist.
@vizijayt
@vizijayt 3 жыл бұрын
Journey To Programming thank you for the answer!
@dominickdavis1580
@dominickdavis1580 3 жыл бұрын
Hello, great video! I have a question though. How exactly would I pass a node as a method parameter?
@journeytoprogramming5289
@journeytoprogramming5289 3 жыл бұрын
Hey, glad the video helped. Normally you'd pass a root (or tail) node of the tree or subtree. Depending on your language, you can make your node class the parameter.
@thesupereman22
@thesupereman22 4 жыл бұрын
Keep making content! It good
@journeytoprogramming5289
@journeytoprogramming5289 4 жыл бұрын
Thanks, Elie. I appreciate the comment!
@graazgautam
@graazgautam 4 жыл бұрын
Hey, well explained. How could i make it read in text file and output text file?
@journeytoprogramming5289
@journeytoprogramming5289 4 жыл бұрын
Are you looking to read in data from a text file and store it in a linkedlist and then spit it back out into a text file when done? Or do you just need to read/write to a text file in general?
@altair91100
@altair91100 2 жыл бұрын
When I want to add methods like adding a node to the end or just in the middle, how do I make other nodes reference to the nodes I am creating right now? Should they have an index or something?
@journeytoprogramming5289
@journeytoprogramming5289 2 жыл бұрын
Hey Altair, not sure if you figured this out already, but the node class should have a reference to the prev or next node.
@cydthekid3809
@cydthekid3809 3 жыл бұрын
thanks
@journeytoprogramming5289
@journeytoprogramming5289 3 жыл бұрын
You're welcome!
@jesuskristus18
@jesuskristus18 4 жыл бұрын
You deserve more views. Thanks for the great tutorial! Is it possible to email your for help?
@journeytoprogramming5289
@journeytoprogramming5289 4 жыл бұрын
Hey Alexander, thanks for the comment. Sure thing, feel free to reach out at contact@journeytoprogramming.com
@expertreviews1112
@expertreviews1112 2 жыл бұрын
You shoulda dropped a github link with this code... been much easier for us instead of rewinding the video 20x times back and forth
@kexetmine
@kexetmine Жыл бұрын
👍
@eyobaleameha7345
@eyobaleameha7345 Ай бұрын
woohoooo
@omarbanisalman2326
@omarbanisalman2326 3 жыл бұрын
At 7:53 of the Video a wild lion enters the room...
@journeytoprogramming5289
@journeytoprogramming5289 2 жыл бұрын
Haha. It's half a year after you posted this comment and I still get a chuckle out of it. That's our ferocious lion of a cat named Spock.
@danielruizleyva3825
@danielruizleyva3825 Жыл бұрын
Literally a lion. Expecting to see a Kitty while rewatching
@DataQuestLive
@DataQuestLive 3 жыл бұрын
So i did exactly what you did and Nothing was printed....
@ishansinha9214
@ishansinha9214 3 жыл бұрын
write Console.ReadKey(); in the list line of Main function
@tylerrogan4306
@tylerrogan4306 2 жыл бұрын
You went over everything in sufficient detail. Yet, I am not able to follow along and understand what each piece is doing. When you go off into detail about situations for example where you need to keep track of the count of nodes, etc. it is very confusing for a beginner trying to grasp this concept. Just some attempted constructive feedback. I will need to approach learning this from a different angle.
@journeytoprogramming5289
@journeytoprogramming5289 2 жыл бұрын
Thanks for the feedback Tyler. It's very much appreciated. I hope you were able to clear up things around linked lists. Send me a pm if you have specific questions. Happy to help elaborate on areas I was vague.
@greg5326
@greg5326 3 жыл бұрын
Please separate the concepts part from the code part. I personally think explaining what a linked list is becomes just a waste of time at the point you are clicking on "how to implement a linked list in C#"
@journeytoprogramming5289
@journeytoprogramming5289 3 жыл бұрын
Hey Greg, that's actually great feedback and I very much appreciate it. Thanks for sharing, and I'll take note in future videos as I completely agree
@greg5326
@greg5326 3 жыл бұрын
@@journeytoprogramming5289 Yea, no sweat. And thanks for mentioning the established class for linked lists as well. I meant to give the praise with the criticism, so pardon the delay.
C# Linked Lists using the .Net Library
6:30
Journey To Programming
Рет қаралды 2,1 М.
Intro To Linked-List in C# 2022 (Step-By-Step Breakdown)
34:30
Teddy Smith
Рет қаралды 15 М.
Super sport🤯
00:15
Lexa_Merin
Рет қаралды 20 МЛН
1❤️
00:20
すしらーめん《りく》
Рет қаралды 33 МЛН
How I prepare to meet the brothers Mbappé.. 🙈 @KylianMbappe
00:17
Celine Dept
Рет қаралды 54 МЛН
Why You Should AVOID Linked Lists
14:12
ThePrimeTime
Рет қаралды 267 М.
Hash Tables in C# - How to use and when to use?
16:13
tutorialsEU
Рет қаралды 23 М.
Односвязный список C#
32:12
SBeregovoyRU
Рет қаралды 11 М.
C# Hashsets - Understand them, use them, LOVE them
10:28
tutorialsEU - C#
Рет қаралды 11 М.
C# interfaces 🐟
5:38
Bro Code
Рет қаралды 116 М.
Introduction to Linked Lists - Data Structures and Algorithms
22:00
Hacking Websites with SQL Injection - Computerphile
8:59
Computerphile
Рет қаралды 2,4 МЛН
Linked List Data Structure | JavaScript
29:36
Traversy Media
Рет қаралды 200 М.
every good programmer should know how to code this data structure (its easy)
21:08