Insert a node in a Singly Linked List at a given position (Animation)

  Рет қаралды 41,907

Dinesh Varyani

Dinesh Varyani

3 жыл бұрын

►Full DSA Course - • Data Structures and Al...
►Follow me on Instagram - bit.ly/intrvwkckstrt
►Follow me on LinkedIn - bit.ly/fllwlkdn
►Enroll in the complete course: bit.ly/3W4qthg
►Source Code - github.com/dinesh-varyani/ds-...
►Download DSA Animation Slides - techready.in/courses/150-dsa-...
►Click here to subscribe - kzfaq.info...
Watch all my playlist here:
►Data Structures and Algorithms Course playlist: • Data Structures and Al...
►Mastering JUnit 5 - kzfaq.info?list...
►Mastering Mockito 3 - • Mockito 3 Tutorials
►Analysis of Algorithms - • Analysis of Algorithms
►Linked List Data Structures - • Linked List Data Struc...
►Array Data Structures - • Playlist
►Stack Data Structure - • Stack Data Structure
►Queue Data Structure - • Queue Data Structure
►Binary Tree Data Structure - • Binary Tree Data Struc...
►Graph Data Structure - • Graph Data Structure
►Binary Heap Data Structure - • Binary Heap Data Struc...
►Trie Data Structure - • Trie Data Structure
►Dynamic Programming Algorithms - • Dynamic Programming Al...
►Hashing Data Structures - • Hashing Data Structures
►Sorting and Searching - • Sorting and Searching
►String Algorithms - • String Algorithms
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

Пікірлер: 55
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Please *Subscribe* and *Click Bell* 🔔🔔🔔 Icon for More Updates. To get *Data Structures and Algorithms* complete course for free please follow this link - kzfaq.info/sun/PL6Zs6LgrJj3tDXv8a_elC6eT_4R5gfX4d
@raz0229
@raz0229 3 жыл бұрын
Only DSAs that make complete sense to me are in Java. Thanks to you, kind teacher
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Welcome !!!
@shubhamagarwal1434
@shubhamagarwal1434 2 жыл бұрын
Best series for DS & Algo. I am also 10 yrs java exp guy. Was looking for DS & Algo free course over KZfaq with java implementation and found this. Hats Off To You Man...Excellent Work. GOD BLESS YOU :)
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
Thanks !!!
@jainababah6718
@jainababah6718 8 ай бұрын
So far, this is the best tutorial I've watched on DSA ❤
@aishwaryagupta1399
@aishwaryagupta1399 2 жыл бұрын
I can never thank you enough for this playlist, discovered it yesterday. Amazing content!!
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
Welcome !!!
@aishwaryadeshmukh9531
@aishwaryadeshmukh9531 Жыл бұрын
same same.......
@samuel_william
@samuel_william 2 жыл бұрын
This tutorial is very useful for preparing DSA Interviews, Loving it so much. All the code explained are very clear and precise.
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
thanks !!!
@deepakbaravkar109
@deepakbaravkar109 2 жыл бұрын
This is the first time I'm commenting on somone's video because I found this very helpfull. I was searching for DSA and finally reached here. Great explainantion, The way you are using to clear things is very easy to understand. Thank you sir🙏
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
Welcome !!!
@seemantjain9159
@seemantjain9159 Жыл бұрын
Thank you for these videos Dinesh sir
@ChetanMishra-id8er
@ChetanMishra-id8er 3 жыл бұрын
you are great man keep it up we students need more mentors like you on youtube
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Thanks !!!
@achiever27
@achiever27 3 жыл бұрын
Very very nice and quality content.
@Abhishekk577
@Abhishekk577 2 жыл бұрын
Big Thanks to you for this amazing playlist . Amazing Content
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
Welcome !!! Keep supporting. Please share it with your friends and colleagues as well !!!
@dineshr4732
@dineshr4732 2 жыл бұрын
Thanks a lot Dinesh Varyani. This has helped me a lot.
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
Glad it helped
@iramkhan23
@iramkhan23 2 жыл бұрын
Simply amazing! I checked many videos but this playlist was most comprehensive and explanation is very clear and all cases are covered well as well as explained using animation and also through Java code in eclipse! what more could one ask for... Hats off.. keep up the great work.. Thank you so so sooooo much!!! :):):)
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
Welcome !!! Request you to share the playlist with ur friends and colleagues !!!
@aishwaryadeshmukh9531
@aishwaryadeshmukh9531 Жыл бұрын
this is really perfect playlist
@sanjushekhawat6446
@sanjushekhawat6446 3 жыл бұрын
Excellent teaching way thanks lot Sir
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Welcome !!!
@NikhilSingh-sl1cx
@NikhilSingh-sl1cx 3 жыл бұрын
Great explanation.... Thanku sir🙏
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Welcome !!!
@fahadminhas4119
@fahadminhas4119 2 жыл бұрын
I just can't explain what this tutorial meant to me , thankyou bro , May Allah keep you blessed
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
Welcome !!!
@appikeeru5785
@appikeeru5785 17 күн бұрын
I love your patience😂❤
@akki.EditsX
@akki.EditsX 3 жыл бұрын
Salute to you sirji
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Thanks !!!
@naitikpitroda1151
@naitikpitroda1151 Жыл бұрын
nice explanation
@rohitsinghal4229
@rohitsinghal4229 2 жыл бұрын
Sir if in case we have a SinglyLinkedList of having length 2 and we want to insert a newNode in 4th position then....
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
usually we keep size as instance variable and we compare position with it ... if position is greater than size we either return or throw an exception !!!
@rohitsinghal4229
@rohitsinghal4229 2 жыл бұрын
@@itsdineshvaryani Thanks sir 😊
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
@@rohitsinghal4229 welcome !!!
@dineshnembang9657
@dineshnembang9657 3 жыл бұрын
amazing explanation
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Thanks !!!
@haroldgregconor1513
@haroldgregconor1513 2 жыл бұрын
do u have singly linked list that input data of how many nodes and the value of it?
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
didn't get your question. please elaborate more !!!
@ekansh6267
@ekansh6267 10 ай бұрын
👌👌
@modinglymods4085
@modinglymods4085 Жыл бұрын
@mrsst1
@mrsst1 2 жыл бұрын
Sir which software is used for making this animative content, kindly tell🥺
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
keynote
@skysefall7976
@skysefall7976 2 жыл бұрын
has this course completed ? i found very usefull but if course not complete then it will break my flow. please tell me, so can continue this course because after 10 days i have an interview.
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
You first complete whatever there is ... It will take more than 10 days to complete ...
@pragyatomar9688
@pragyatomar9688 3 жыл бұрын
This algorithm will not work is position = 2 bcz at position = 2 while(count< position -1 ) will not work as 1
@itsdineshvaryani
@itsdineshvaryani 3 жыл бұрын
Good catch !!! Its actually missed in slide ... Check for proper code in description of video ... previous should be at head ... Can u check video from 5:00 ...
@Unknown-Stranger
@Unknown-Stranger 3 жыл бұрын
@Pragya Tomar you should first dry run the code then post the mistake, it will work fine even the while condition is failed because position is at head and should be behind of new node which we will insert.
@codewithbharath8607
@codewithbharath8607 2 жыл бұрын
while runs when you insert the node after 2 position because when u insert node at two there is no need to run while check it out thankyou!!!
@Sohelkhans50
@Sohelkhans50 Жыл бұрын
@@itsdineshvaryani please pin this comment to top
@karentechnologies3990
@karentechnologies3990 2 жыл бұрын
It's very confusing to count the position from 1, we always count from 0
@itsdineshvaryani
@itsdineshvaryani 2 жыл бұрын
You can write logic for 0 position
Why Floyd's Cycle Detection algorithm works?
19:30
Dinesh Varyani
Рет қаралды 19 М.
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 67 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 14 МЛН
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,4 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 165 МЛН
Single Linked List (Inserting a Node at a Certain Position)
6:52
Neso Academy
Рет қаралды 287 М.
How to find start of a loop in a Singly Linked List? (Animation)
12:45
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 617 М.
Generate Binary numbers from 1 to n using a Queue | Animation
18:38
Dinesh Varyani
Рет қаралды 14 М.
every good programmer should know how to code this data structure (its easy)
21:08
Пресс Боксера Тяжеловеса и Твоего Тренера
0:20
Голову Сломал
Рет қаралды 3,6 МЛН
Головоломка с кольцом🤨
0:42
FERMACHI
Рет қаралды 20 МЛН
ИНТЕРЕСНАЯ ИДЕЯ (@kelvin_bryant25 - Instagram)
0:16
В ТРЕНДЕ
Рет қаралды 27 МЛН
Егор заново учится кататься на велике
0:40
Pavlov_family_
Рет қаралды 2,3 МЛН