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

    Palindrome String | Recursive & Iterative Python Solutions

    3 Mins Read

    Learn two easy ways to test a Palindrome String: a clean recursive method and a space saving two-pointer loop. Includes…

    Data Structures & Algorithms

    Detect Cycle in a Directed Graph – Kahn’s Algorithm (BFS Topological Check) in Python

    3 Mins Read

    Learn how to detect cycle in a directed graph with Kahn’s algorithm. Simple intuition, commented Python code, step-by-step dry run,…

    Data Structures & Algorithms

    Topological Sort (Kahn’s Algorithm) – Simple BFS Solution in Python

    3 Mins Read

    Learn how to perform topological sorting of a DAG using Kahn’s algorithm (BFS based). Clear steps, commented Python code, dry-run…

    Data Structures & Algorithms

    Detect Cycle in a Directed Graph

    3 Mins Read

    See how to solve “detect cycle in a directed graph” using depth-first search and two helper arrays. Simple idea, commented…

    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…

    Previous 1 … 11 12 13 14 15 16 Next
    Categories
    • Data Structures & Algorithms (159)
      • Beginner (61)
      • Expert (38)
      • Intermediate (60)
    • Uncategorised (1)
    Recent Posts

    Implement Stack using Queues | Leetcode 225 | Complete Python Code

    26 July 2025

    Implement Queue Using Array: Complete Guide with Normal and Optimal Solutions

    26 July 2025

    Implement Stack Using Array | GFG Practice | Complete Guide in Python

    26 July 2025

    Climbing Stairs | Leetcode 70 | Solved using Dynamic Programming

    24 July 2025

    Nth Fibonacci Number | Introduction to Dynamic Programming

    24 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.