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 Binary Strings | Backtracking Approach

    5 Mins Read

    Given an integer N , Print all binary strings of size N which do not contain consecutive 1s. A binary string is that string…

    Data Structures & Algorithms

    Count All Subsequences with Sum = K: Complete Guide with Backtracking

    5 Mins Read

    Given an array arr of non-negative integers and an integer target, the task is to count all subsets of the array whose sum…

    Data Structures & Algorithms

    Check if there exists a subsequence with sum = K | Backtracking Solution in Python

    5 Mins Read

    Hey students! If you’re exploring recursion and backtracking, this problem is a great follow-up to subsets or subsequences. It’s like the “Subsets with Sum K” but simpler,…

    Data Structures & Algorithms

    Print all subsequences with Sum = K: Complete Guide with Backtracking

    5 Mins Read

    Given an array of positive integers and a target sum K, generate and print all subsequences of the array whose sum equals K. A subsequence is a sequence that…

    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…

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