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

    Print all subsequences/Power Set: Complete Guide with Backtracking

    4 Mins Read

    Hey students! If you’re diving into recursion and backtracking, the “Subsets” problem (also known as generating the power set or all subsequences) is a perfect starting point. It’s like deciding…

    Data Structures & Algorithms

    Find XOR of numbers from L to R | Optimal Solution using Bit Manipulation

    6 Mins Read

    You are given two integers L and R, your task is to find the XOR of elements of the range…

    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…

    Previous 1 … 9 10 11 12 13 … 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.