Back to Browse

Insert a node at the head of a linked list [HackerRank] | Data Structure | LinkedList | Interview

1.1K views
Jan 28, 2020
7:06

This video is about Insert a node at the head of a linked list Problem statement: You’re given the pointer to the head node of a linked list and an integer to add to the list. Create a new node with the given integer, insert this node at the head of the linked list and return the new head node. The head pointer given may be null meaning that the initial list is empty. Problem: https://www.hackerrank.com/challenges/insert-a-node-at-the-head-of-a-linked-list/problem Code:https://www.coderscart.com/insert-a-node-at-the-head-of-a-linked-list-hackerrank/ Linear Linked List in detail Part-1. https://youtu.be/9cF71KQz9xo Part-2. https://youtu.be/carct0qNuf0 Part-3. https://youtu.be/hNRhZLnQKBE Part-4. https://youtu.be/1IaOtf6NSs8 For 1 : 1 Tutoring WhatsApp contact : 7278222619 mail: [email protected] You can support via UPI : sattujaiswal@okhdfcbank Follow us on: Whatsapp: https://chat.whatsapp.com/LNwHGukUizjJPAxK7ma8gs Facebook: https://www.facebook.com/codingcart/ Linkedin: https://www.linkedin.com/in/satyendra-jaiswal-903588a2/ https://www.linkedin.com/company/codingcart Instagram: https://www.instagram.com/codingcart/ #HackerRank #DataStructure #LinkedList

Download

0 formats

No download links available.

Insert a node at the head of a linked list [HackerRank] | Data Structure | LinkedList | Interview | NatokHD