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

    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,…

    Data Structures & Algorithms

    Python Program to Reverse Array Using Recursion and While Loop

    15 Mins Read

    Hi everyone! In this article, we’ll guide you through the Python program to reverse an array using recursion and while…

    Data Structures & Algorithms

    Right Rotate an Array by K places | Explained with Examples

    10 Mins Read

    In this article we’ll guide you through the Python program to Right Rotate an Array by K places (in-place) [Problem…

    Previous 1 2 3 4 Next
    Categories
    • Data Structures & Algorithms (32)
      • Beginner (16)
      • Expert (6)
      • Intermediate (10)
    • Uncategorised (1)
    Recent Posts

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

    31 May 2025

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

    31 May 2025

    Bubble Sort Algorithm in Python | Explained in Depth

    29 May 2025

    Python Program to Find Factorial of Number Using Recursion

    29 May 2025

    Python Program to Print from 1 to N Without Loops

    29 May 2025
    Facebook Instagram YouTube LinkedIn WhatsApp
    © 2025 Code and Debug. All rights reserved.

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