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

    Climbing Stairs | Leetcode 70 | Solved using Dynamic Programming

    11 Mins Read

    You are climbing a staircase with n steps. It takes n steps to reach the top. Each time you can either climb 1 or…

    Data Structures & Algorithms

    Nth Fibonacci Number | Introduction to Dynamic Programming

    16 Mins Read

    Given a non-negative integer n, your task is to find the nth Fibonacci number. The Fibonacci sequence is a sequence where the next term is the…

    Data Structures & Algorithms

    Rat in a Maze Problem – I | GFG Practice | 2 different solutions

    15 Mins Read

    Consider a rat placed at position (0, 0) in an n x n square matrix mat[][]. The rat’s goal is to reach the…

    Data Structures & Algorithms

    N-Queens | Leetcode 51 | Brute and Optimal Solution

    19 Mins Read

    The n-queens puzzle is the problem of placing n queens on an n x n chessboard such that no two queens attack each other. Given an…

    Data Structures & Algorithms

    Letter Combinations of a Phone Number | Leetcode 17 | Optimal Solution in Python

    6 Mins Read

    Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer in any…

    Data Structures & Algorithms

    Combination Sum III | Leetcode 216 | Optimal Solution in Python

    6 Mins Read

    Find all valid combinations of k numbers that sum up to n such that the following conditions are true: Return a list of all possible…

    Data Structures & Algorithms

    Subset Sums | GFG Practice | Brute and Optimal Solution

    7 Mins Read

    Given a array arr of integers, return the sums of all subsets in the list. Return the sums in any order. Here’s…

    Data Structures & Algorithms

    Combination Sum II | Leetcode 40 | Brute and Optimal Solution

    9 Mins Read

    Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numbers…

    Data Structures & Algorithms

    Combination Sum | Leetcode 39 | Backtracking Approach

    6 Mins Read

    Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen numbers sum to target. You may return the…

    Data Structures & Algorithms

    Generate Parentheses | Leetcode 22 | Backtracking Approach

    5 Mins Read

    Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Here’s the [Problem Link] to begin with. Example…

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