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

    Topological Sort in Graph | Simple DFS + Stack Solution in Python

    3 Mins Read

    Learn how to find a topological sort of a directed acyclic graph (DAG) using depth-first search (DFS) and a stack.…

    Data Structures & Algorithms

    Is Graph Bipartite? | Leetcode 785 | Easy 2-Color DFS Solution in Python

    4 Mins Read

    Learn how to test if an undirected graph is bipartite by coloring it with two colors. Simple DFS idea, commented…

    Data Structures & Algorithms

    Number of Distinct Islands | Simple DFS solution in Python

    5 Mins Read

    Learn how to count the number of distinct islands shape in a binary grid using DFS and shape hashing. Clear…

    Data Structures & Algorithms

    Number of Islands | Leetcode 200 | Explained using BFS and DFS

    4 Mins Read

    Learn how to count the number of islands (leetcode 200) in a 2-D grid using both Breadth-First Search (BFS) and…

    Data Structures & Algorithms

    Word Ladder II | Leetcode 126 | Shortest Transformation Sequences with BFS

    6 Mins Read

    Learn how to find all shortest paths (Word Ladder II) from one word to another by changing one letter at…

    Data Structures & Algorithms

    Bubble Sort Algorithm in Python | Explained in Depth

    4 Mins Read

    Hi everyone! In this article, we’ll help you solve & understand bubble sort algorithm in Python like nowhere before. With…

    Data Structures & Algorithms

    Python Program to Find Factorial of Number Using Recursion

    6 Mins Read

    Hi everyone! In this article, we’ll guide you through the Python program to find factorial of number using recursion. The…

    Data Structures & Algorithms

    Python Program to Print from 1 to N Without Loops

    5 Mins Read

    Hi everyone, in this article we’ll guide you through the Python program to print from 1 to N without loops…

    Data Structures & Algorithms

    Python Program to Print Divisors/Factors of an Integer

    8 Mins Read

    Hi everyone! In this article, we’ll explain the Python program to print divisors/factors of an integer. Helping you understand better…

    Data Structures & Algorithms

    Python Program to Check Armstrong Number | Explained

    4 Mins Read

    Hello curious minds! In this article we’ll explore the Python program to check Armstrong Number. Explained comprehensively with examples, code,…

    Previous 1 … 7 8 9 10 11 12 Next
    Categories
    • Data Structures & Algorithms (115)
      • Beginner (46)
      • Expert (34)
      • Intermediate (35)
    • Uncategorised (1)
    Recent Posts

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

    10 July 2025

    Minimize Max Distance to Gas Station | GFG Practice | Optimal Binary Search

    10 July 2025

    The Painter’s Partition Problem-II | GeeksforGeeks Solution Explained

    10 July 2025

    Allocate Minimum Pages | GFG | Binary Search

    10 July 2025

    Aggressive Cows | GeeksforGeeks Solution Explained | Binary Search

    10 July 2025
    Facebook Instagram YouTube LinkedIn WhatsApp
    © 2025 Code and Debug. All rights reserved.

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