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

    Detect cycle in an undirected graph using DFS

    4 Mins Read

    Learn how to detect a cycle in an undirected graph with a depth-first search (DFS) approach. This beginner-friendly guide walks…

    Data Structures & Algorithms

    Detect cycle in an undirected graph using BFS

    3 Mins Read

    Learn how to detect a cycle in an undirected graph with a breadth-first search (BFS) approach. This beginner-friendly guide walks…

    Data Structures & Algorithms

    Flood Fill | Leetcode 733 | DFS and BFS Approach

    4 Mins Read

    Discover how to implement the classic “Flood Fill” algorithm on a 2D image grid using both Depth-First Search (DFS) and…

    Data Structures & Algorithms

    Rotting Oranges | Leetcode 994 | Explained

    4 Mins Read

    Learn how to solve the “Rotting Oranges” problem from LeetCode using a breadth-first search (BFS) approach. We walk through the…

    Data Structures & Algorithms

    DFS Traversal in Graph | Explained using Code

    3 Mins Read

    Learn how to perform a DFS Traversal in Graph represented by an adjacency list using simple Python recursion. Step by…

    Data Structures & Algorithms

    BFS Traversal in Graph | Explained using Code

    3 Mins Read

    Learn how to perform BFS Traversal in Graph represented by an adjacency list. This hands guide uses Python’s collections.deque, walks…

    Data Structures & Algorithms

    Diameter of Binary Tree

    3 Mins Read

    Learn how to calculate the diameter (longest path) of a binary tree in one pass using recursion. Clear, step-by-step code…

    Data Structures & Algorithms

    Maximum Depth of Binary Tree | Explained with Examples

    5 Mins Read

    How to calculate the maximum depth of binary tree with simple Python recursion. This beginner-friendly article breaks down the “why”…

    Data Structures & Algorithms

    Breadth-First Search in Binary Trees: Level-Order Traversal with Python

    4 Mins Read

    Learn how to perform a level-order (BFS) traversal on a binary tree using Python’s collections.deque. This beginner-friendly guide shows you…

    Data Structures & Algorithms

    A Beginner’s Guide to Preorder, Inorder & Postorder Traversals

    4 Mins Read

    Dive into Depth-First Search (DFS) on binary trees! In this friendly guide, we’ll learn about preorder, inorder, and postorder traversals…

    Previous 1 … 22 23 24 25 Next
    Categories
    • AI & Machine Learning (4)
    • Data Structures & Algorithms (241)
      • Beginner (82)
      • Expert (52)
      • Intermediate (106)
    • Pandas (1)
    • Python (1)
    • Resume (1)
    • SQL (1)
    Recent Posts

    Confusion Matrix in Machine Learning: An Interactive Guide

    21 October 2026

    100 SQL Interview Questions with Queries and Answers (Freshers to Experienced)

    17 October 2026

    Logistic Regression in Machine Learning: Explained Visually (with Python)

    17 October 2026

    Linear Regression in Machine Learning: Explained Visually (with Python)

    17 October 2026

    100 Python Interview Questions and Answers for Freshers and Experienced (Free PDF)

    17 October 2026
    Facebook Instagram YouTube LinkedIn WhatsApp
    © 2025 Code and Debug. All rights reserved.

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