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

    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…

    Data Structures & Algorithms

    Python Program to Count Number of Digits | Explained

    5 Mins Read

    Python Program to Count Number of Digits [Problem Link]. EXAMPLES: As only one digit is ‘2’ present in ‘X’ so…

    Data Structures & Algorithms

    Extraction of Digits in Python | Explained Step-by-Step

    3 Mins Read

    Welcome to this article on extraction of digits in Python. Explained step-by-step with the intuitive approach, code, explanation, dry run…

    Data Structures & Algorithms

    Time Complexity and Space Complexity in DSA | Explained with Examples

    11 Mins Read

    Time complexity and space complexity, both measure an algorithm’s efficiency. Where time complexity shows how the running time increases with…

    Data Structures & Algorithms

    Python Program for Selection Sort Algorithm

    4 Mins Read

    Hi everyone! In this article, we’ll guide you through the Python Program for Selection Sort Algorithm. With detailed examples, approach,…

    Previous 1 … 16 17 18 19 Next
    Categories
    • Data Structures & Algorithms (184)
      • Beginner (68)
      • Expert (43)
      • Intermediate (73)
    • Uncategorised (1)
    Recent Posts

    0 – 1 Knapsack Problem | 5 DP Solutions in Python

    13 August 2025

    Partitions with Given Difference | Optimal Solution

    13 August 2025

    Perfect Sum Problem | All 4 DP Solutions in Python

    13 August 2025

    Minimum sum partition | Solved using Tabulation in Python

    11 August 2025

    Partition Equal Subset Sum | Leetcode 416

    11 August 2025
    Facebook Instagram YouTube LinkedIn WhatsApp
    © 2025 Code and Debug. All rights reserved.

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