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

    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…

    Data Structures & Algorithms

    Middle of the Linked List | Leetcode 876 | Tortoise Hare Approach

    8 Mins Read

    The “Middle of the Linked List” problem is a classic linked list question that helps you understand traversal techniques and…

    Data Structures & Algorithms

    Design Linked List | Leetcode 707 | Explained in Python

    5 Mins Read

    The “Design Linked List” problem is a fundamental data structure question that tests your understanding of how linked lists work and how to implement them from scratch. In this…

    Data Structures & Algorithms

    Understanding Singly Linked List in Python | Complete Explanation and Implementation Guide

    6 Mins Read

    A singly linked list is a key data structure in computer science, often used for dynamic memory allocation and for…

    Data Structures & Algorithms

    Median of Two Sorted Arrays | Leetcode 4 | Optimal Binary Search Solution

    7 Mins Read

    The “Median of Two Sorted Arrays” problem is a classic and tricky coding interview question. It tests your understanding of…

    Previous 1 … 5 6 7 8 9 … 19 Next
    Categories
    • Data Structures & Algorithms (184)
      • Beginner (68)
      • Expert (43)
      • Intermediate (73)
    • Uncategorised (1)
    Recent Posts

    0 – 1 Knapsack Problem | 5 DP Solutions in Python

    13 August 2025

    Partitions with Given Difference | Optimal Solution

    13 August 2025

    Perfect Sum Problem | All 4 DP Solutions in Python

    13 August 2025

    Minimum sum partition | Solved using Tabulation in Python

    11 August 2025

    Partition Equal Subset Sum | Leetcode 416

    11 August 2025
    Facebook Instagram YouTube LinkedIn WhatsApp
    © 2025 Code and Debug. All rights reserved.

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