Technical Interview: Part 3: Linked List - Inserting a node at the beginning of the Linked List

Опубликовано: 03 Май 2026
на канале: Technical Interview
192
8

In this video we will see how to insert a node in linked list - at the beginning of the linked list.

CODE: https://rb.gy/q8f84f

[IMPORTANT]
Complete List of interview questions that you need to prepare: https://bit.ly/34HXbMI

**This video comes under "BASIC" section of interview questions.
To understand what and how a linked list works, please refer the videos below:

Linked List Series:
Part 1: Introduction to linked list:    • Technical Interview: Part 1: Introduction ...  
Part 2: Understanding the Implementation ( in JAVA):    • Technical Interview: Part 2: Introduction ...  
Part 3: Inserting a node at the beginning of the list:    • Technical Interview: Part 3: Linked List -...  
Part 4: Inserting a node at the end of the list:    • Technical Interview: Part 4: Linked List -...  
Part 5: Inserting a node after a given node :    • Technical Interview: Part 5: Linked List -...  
Part 6: Deleting an element from the list:    • Technical Interview: Part 6: Linked List -...  

Q&A-Interview Questions
Part 7: Find the middle of a given linked list in LinkedList (Java) :    • Technical Interview: Part 7 (Q&A): Linked ...  
Part 8: Find the Nth node from the end of Linked List (Java):    • Technical Interview: Part 8 (Q&A): Linked ...  
Part 9: How to reverse a Linked List (Java):    • Technical Interview: Part 9 (Q&A): Linked ...  
Part 10: How to detect a loop in Linked List (Java):    • Technical Interview: Part 10 (Q&A): Linked...  
Part 11: How to detect & remove loop in Linked List(Java):    • Technical Interview: Part 11 (Q&A): Linked...  

#technicalinterview #codinginterview #crackingthetechnicalinterview