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

    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:…

    Data Structures & Algorithms

    Find length of Loop | Complete Guide with 2 Different Solutions

    7 Mins Read

    Given the head of a linked list, determine whether the list contains a loop. If a loop is present, return the…

    Data Structures & Algorithms

    Linked List Cycle II | Leetcode 142 | Complete Guide with 2 Different Solutions

    7 Mins Read

    Given the head of a linked list, return the node where the cycle begins. If there is no cycle, return null. Here’s the [Problem…

    Data Structures & Algorithms

    Linked List Cycle | Leetcode 141 | Floyd’s Cycle Detection

    7 Mins Read

    Given head, the head of a linked list, determine if the linked list has a cycle in it. There is a cycle in a linked…

    Data Structures & Algorithms

    Reverse Linked List | Leetcode 206 | Iterative vs Recursive Solution

    7 Mins Read

    The “Reverse Linked List” problem is one of the most fundamental and frequently asked problems in data structures. It tests your understanding of pointer manipulation and recursion in a singly…

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

    Confusion Matrix in Machine Learning: An Interactive Guide

    21 October 2026

    100 SQL Interview Questions with Queries and Answers (Freshers to Experienced)

    17 October 2026

    Logistic Regression in Machine Learning: Explained Visually (with Python)

    17 October 2026

    Linear Regression in Machine Learning: Explained Visually (with Python)

    17 October 2026

    100 Python Interview Questions and Answers for Freshers and Experienced (Free PDF)

    17 October 2026
    Facebook Instagram YouTube LinkedIn WhatsApp
    © 2025 Code and Debug. All rights reserved.

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