How to create a Singly Linked List in Java ?

preview_player
Показать описание

Watch all my playlist here:

Want to land a software engineering job in the IT industry? This course - 'Visualizing Data Structures and Algorithms' is here to help. The course walks you through multiple Java algorithms, data structures problems, and their solutions with step by step visualizations, so that you are actually learning instead of blindly memorizing solutions.

The course covers in and outs of Data Structures and Algorithms in Java. Java is used as the programming language in the course. Students familiar with Javascript, Python, C#, C++, C, etc will also get to learn concepts without any difficulty. The implementation of various Algorithms and Data Structures have been demonstrated and implemented through animated slides. It covers many interview room questions on Algorithms and Data Structures. The questions and solutions are demonstrated by -

1. Animated slide. (To make visualization of algorithms faster)
2. Coding algorithm on IDE.

The course covers topics such as -
0. Algorithm Analysis
1. Arrays
2. Matrix
3. Singly Linked List
4. Doubly Linked List
5. Circular Singly Linked List
6. Stacks
7. Queues
8. Binary Tree
9. Binary Search Tree
10. Graphs
11. Priority Queues and Heaps
12. Recursion
13. Searching
14. Sorting
15. Strings
16. Trie Data Structure
17. Dynamic Programming
and many more ...

#dsa #algorithms #coding
Рекомендации по теме
Комментарии
Автор

Finally found perfect explanation how to create a linkedList!! thanks

Marinakulichok
Автор

Till yesterday i had problems understanding linked lists. Now i can go all the way. Thanks mate!!!

BensonMpapa
Автор

bro thanks alot i was frustrated watching all other videos because those people weren't clear to me. but after watching this video i am very clear with lisnkedlist in java. thanks alot bro!

nikhilarora
Автор

Thanks for this video, you were able to break it down in the simplest of ways.

mustapharaimilawal
Автор

Was unable to understand linked list but thanks God now I can understand what linked list is all about.

hassannaqvi
Автор

Only one question apart from that excellent demonstration.
Why the static inner class is considered? Can it be a normal class also??

shakyasarkar
Автор

Sir how can you adeclare head variable of type Listnode before declaring Listnode class .Please clear my doubt

shubhampandey-cevb
Автор

hi, Dinesh if i want to make user defined like user have to give input how can we make this

raghvendratiwari
Автор

Thank you, sir. But I am wondering how it doesn't show any compile time error when you access the private variable 'next' from main method.

mohanrammanikandan
Автор

Why do we need to have private static with class ListNode

gtacarlito
Автор

Hey i am new to java coming from python environment can you please tell me what is line no 4 and why we need it

nitindagar
Автор

So I am still a bit confused. Around 1:13 the illustration seems to indicate that head points to 10 which would seem to imply that head.next = 10. But around 2:37 it looks like you create object head to be identical to 10 with head.next = null (by constructor). Can you please explain this to me? Thanks for the videos. I clicked like button.

ElvinJones
Автор

Wow, I didn't know Stephen Hawking taught programming!

marshallmathers
Автор

thanks a lot brother, this video is the best

ayanarif
Автор

nice important in link list. 

one doubt: What bout null pointer?
If I wrote fourth.next = null;

Will it throw an error there?

Pashu
Автор

GREAT!! Thanks a lot! It really helped me!

luizgustavomeloxavier
Автор

Hello sir.
Thank you. Nicely explained.
BTW can you please give me the slides of singly linked list??

asishblog