Singly Linked List | Insert, Delete, Complexity Analysis

preview_player
Показать описание
Learn Linked Lists through animations, code and explanations.

In this video, I go through Singly Linked Lists in detail using Java. I cover operations such as insert at front, insert after a node, insert at end, delete at front, delete after a node, and delete at end. I also cover the Big O complexity analysis for these operations.
Рекомендации по теме
Комментарии
Автор

Important Note: For deleteAfter and deleteStart, if these methods had a return type of void it would be fine, however, since these methods return a reference, you should update toDelete.next to null before returning toDelete. This is because toDelete holds a reference to the entire list and we only want a reference to the single node that's being deleted.

BlueTreeCode
Автор

I’m going to recommend anyone confused about linkedlists to this video! Hands down the best one on YouTube. Thanks!!!

marhawk
Автор

Wow that's amazing in just 15 min I have learnt 6 types of insertion and deletion at glance .
Thanks for this nice content.

rahulkhandelwal
Автор

Your video is truly the best one in entire YouTube to learn data structures in java

RajeshSamson
Автор

Thank you for the comprehensive explanations. This has helped me prepare for the exam in my OOP2 class :)

Edit: Please make more videos that give a thorough treatment to intermediate and advanced topics in programming. I found that videos on the topic of linked lists were quite dumbed down and didn't have the depth that I needed to flesh out my understanding. until I found your channel. The "beginner's guide" collection of programming videos seems to be quite saturated, but those are of limited utility. We need more videos like yours on youtube.

kristalkristal
Автор

This cleared the whole concept up for me. Thanks for providing with simple explanations and great visuals, subscribed!

KeenalShah
Автор

Is it just me or this channel videos does not come out when i search it, like im looking at his video about doubly linked list and i scroll so far down, still cant see it. Its so annoying cus this video is so much better than those thats being recommended.

happypoot
Автор

Hey Everyone! Thanks for checking out my video! Don't forget to Like, Subscribe, and MOST IMPORTANTLY click that Notification Bell for updates! :)

BlueTreeCode
Автор

OMG!!! Man that visual representation made everything crystal clear love u man.

alimujtaba
Автор

Thanks for clearing time complexity for different cases (front end and after)

mrunalinidudhagawali
Автор

These are some amazing and concise videos that really help visualize these concepts and algorithms. Thank you so much! Subscribed!

BlackHazama
Автор

You are the best. You left no stone unturned.
Thank you👍👍

abdouliebah
Автор

Explained very well, thank you so much!

moncoeur
Автор

Best video ever! Been struggling with linked list for a while and this just brought the pint home!

gracekaranja
Автор

That's the best video about Linked lists, EXTREMELY HELPFUL
Thank you so much BTC

mohdymi
Автор

This was a really good explanation with good diagrams! Helped me understand the concept completely! thanksss

bleh
Автор

This is PHENOMENALLY helpful, thank you so much!!!
😭😭😭

mtill
Автор

Thanks a lot Blue Tree Code, you make very clear for a me, because i am at learning stage, thanks a lot

ahsanhridoy
Автор

The best explanation of linked list I have ever seen.

Gzzzzzz
Автор

It was very precise and helpful. Thank you. Keep up the good work.

avineetsingh