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

    Generate all Subsets using Bit Manipulation | Leetcode 78 | Python Code

    3 Mins Read

    Given an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets. Return the solution in any order. Here’s…

    Data Structures & Algorithms

    Single Number | Leetcode 136 | Brute Force and Optimal solution in Python

    6 Mins Read

    Given a non-empty array of integers nums, every element appears twice except for one. Find that single one. You must implement a solution with a linear…

    Data Structures & Algorithms

    Minimum Bit Flips to Convert Number | Leetcode 2220 | Optimal Solution in Python

    7 Mins Read

    A bit flip of a number x is choosing a bit in the binary representation of x and flipping it from either 0 to 1 or 1 to 0. Given two integers start and goal, return the minimum number of bit flips to…

    Data Structures & Algorithms

    Mastering Bit Manipulation: Swap Two Numbers Without Temporary Variable and Check if Kth Bit is Set

    8 Mins Read

    Welcome to our detailed guide on bit manipulation problems! If you’re preparing for coding interviews or just want to strengthen…

    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…

    Previous 1 … 9 10 11 12 13 … 25 Next
    Categories
    • Data Structures & Algorithms (240)
      • Beginner (82)
      • Expert (52)
      • Intermediate (106)
    • Uncategorised (1)
    Recent Posts

    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

    Top View of Binary Tree | BFS with Horizontal Distance Mapping

    2 September 2025

    Vertical Order Traversal of a Binary Tree | Leetcode 987 | BFS + Sorting Solution

    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.