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

    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…

    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…

    Previous 1 … 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.