Close Menu
    Code and Debug
    • Home
    • Our Courses
    • Blog
    • About Us
    • Contact Us
    Facebook X (Twitter) Instagram YouTube WhatsApp
    • Home
    • Our Courses
    • Blog
    • About Us
    • Contact Us
    Facebook Instagram YouTube LinkedIn WhatsApp

    Code and Debug – BlogCode and Debug – Blog

    Code and Debug – BlogCode and Debug – Blog
    Data Structures & Algorithms

    Delete all occurrences of a given key in a doubly linked list | GFG Practice

    5 Mins Read

    Given a doubly linked list and a key, delete all occurrences of the given key from the doubly linked list. Here’s…

    Data Structures & Algorithms

    Add Two Numbers | Leetcode 2 | Optimal Solution

    6 Mins Read

    You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes…

    Data Structures & Algorithms

    Add 1 to a Linked List Number | GFG Practice | Optimal Solution

    6 Mins Read

    You are given a linked list that represents a number. Each node contains a single digit, and the digits are stored in…

    Data Structures & Algorithms

    Intersection of Two Linked Lists | Leetcode 160 | Brute, Better and Optimal Solutions

    13 Mins Read

    Given the heads of two singly linked-lists headA and headB, return the node at which the two lists intersect. If the two linked lists…

    Data Structures & Algorithms

    Sort a linked list of 0s, 1s and 2s | GFG Question Explained

    8 Mins Read

    Given the head of a linked list where nodes can contain values 0s, 1s, and 2s only. Your task is to rearrange the list so that all 0s appear at the beginning,…

    Data Structures & Algorithms

    Sort List | Leetcode 148 | Optimal Merge Sort

    7 Mins Read

    Given the head of a linked list, return the list after sorting it in ascending order. Here’s the [Problem Link] to begin with. Example…

    Data Structures & Algorithms

    Delete the Middle Node of a Linked List | Leetcode 2095 | Modified Tortoise and Hare

    6 Mins Read

    You are given the head of a linked list. Delete the middle node, and return the head of the modified linked list. The middle node of a linked list of…

    Data Structures & Algorithms

    Remove Nth Node From End of List | Leetcode 19

    7 Mins Read

    Given the head of a linked list, remove the nth node from the end of the list and return its head. Here’s the [Problem…

    Data Structures & Algorithms

    Odd Even Linked List | Leetcode 328 | Brute to Optimal Solution

    8 Mins Read

    Given the head of a singly linked list, group all the nodes with odd indices together followed by the nodes with even…

    Data Structures & Algorithms

    Palindrome Linked List | Leetcode 234 | Optimal Solution

    7 Mins Read

    Given the head of a singly linked list, return true if it is a palindrome or false otherwise. Here’s the [Problem Link] to begin with. Example 1: Input:…

    Previous 1 … 10 11 12 13 14 … 25 Next
    Categories
    • Data Structures & Algorithms (241)
      • Beginner (82)
      • Expert (52)
      • Intermediate (106)
    • Pandas (1)
    • Resume (1)
    Recent Posts

    Pandas Python: The Complete Roadmap for Beginners in 2026

    8 April 2026

    DSA Interview Cheat Sheet: All Patterns You Need to Know

    4 April 2026

    Symmetric Tree | Leetcode 101 | Recursive DFS Approach

    2 September 2025

    Binary Tree Right Side View | Leetcode 199 | BFS and DFS Approaches

    2 September 2025

    Bottom View of Binary Tree | BFS with Horizontal Distance Mapping

    2 September 2025
    Facebook Instagram YouTube LinkedIn WhatsApp
    © 2025 Code and Debug. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.