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

    Reverse a Doubly Linked List | GFG Practice | Iterative Solution

    5 Mins Read

    Given a doubly linked list. Your task is to reverse the doubly linked list and return its head. Here’s the [Problem Link] to…

    Data Structures & Algorithms

    Understanding Doubly Linked Lists: Complete Guide with Real-Life Examples

    5 Mins Read

    What is a Doubly Linked List? A doubly linked list is a type of linked list where each node contains data and two…

    Data Structures & Algorithms

    Remove duplicates from a sorted doubly linked list | GFG Practice | Optimal Solution

    5 Mins Read

    Given the head of a sorted doubly linked list, remove all duplicate nodes from the list. Each node should appear only once…

    Data Structures & Algorithms

    Find pairs with given sum in doubly linked list | GFG Practice | Optimal Solution

    6 Mins Read

    Given a sorted doubly linked list and a target sum, find all pairs of nodes whose sum equals the target. Return…

    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…

    Previous 1 … 11 12 13 14 15 … 26 Next
    Categories
    • AI & Machine Learning (8)
    • Data Structures & Algorithms (241)
      • Beginner (82)
      • Expert (52)
      • Intermediate (106)
    • Interview Questions (6)
    • Pandas (1)
    • Python (1)
    • Resume (1)
    • SQL (2)
    Recent Posts

    Normalization in DBMS: 1NF, 2NF and 3NF With SQL Examples

    25 November 2026

    100 Machine Learning Interview Questions and Answers (Freshers to Experienced)

    25 November 2026

    K-Means Clustering in Machine Learning: An Interactive Guide (with Python)

    20 November 2026

    Decision Tree in Machine Learning: An Interactive Guide (with Python)

    18 November 2026

    Support Vector Machine (SVM) in Machine Learning: An Interactive Guide

    16 November 2026
    Facebook Instagram YouTube LinkedIn WhatsApp
    © 2025 Code and Debug. All rights reserved.

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