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

    Quick Sort Algorithm in Python | Explained

    6 Mins Read

    Quick Sort is a popular sorting algorithm that follows a divide-and-conquer approach. When implemented well, Quick Sort can be extremely…

    Data Structures & Algorithms

    Merge Sort Algorithm in Python | Explained

    5 Mins Read

    Merge Sort is a classic divide-and-conquer sorting technique. It divides the list into two halves, sorts each half recursively, and…

    Data Structures & Algorithms

    Insertion Sort Algorithm | Explained in Python

    4 Mins Read

    Master insertion sort step by step. See how each element “inserts” into its correct place, watch a detailed dry run,…

    Data Structures & Algorithms

    Find Eventual Safe States | Leetcode 802 | DFS Solution

    5 Mins Read

    Learn how to list all “eventual safe” nodes in a directed graph. We use DFS with path-tracking to spot cycles…

    Data Structures & Algorithms

    Find Eventual Safe States | Leetcode 802 | Kahn’s Algorithm (BFS) Solution

    5 Mins Read

    We flip the graph, run Kahn’s topological BFS, and list every node guaranteed to avoid cycles. Includes clear intuition, step-by-step…

    Data Structures & Algorithms

    Course Schedule | Leetcode 207 | Kahn’s Algorithm Walk-through in Python

    5 Mins Read

    Check if you can finish every course when some need to be done first. We build the course graph, run…

    Data Structures & Algorithms

    Fibonacci Number | Recursive Python Solution

    4 Mins Read

    Find the n-th Fibonacci number with a recursive function in Python. Clear problem statement, examples, easy-to-grasp intuition, commented code, dry…

    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…

    Previous 1 … 20 21 22 23 24 … 26 Next
    Categories
    • AI & Machine Learning (8)
    • Data Structures & Algorithms (241)
      • Beginner (82)
      • Expert (52)
      • Intermediate (106)
    • Interview Questions (6)
    • Pandas (1)
    • Python (1)
    • Resume (1)
    • SQL (2)
    Recent Posts

    Normalization in DBMS: 1NF, 2NF and 3NF With SQL Examples

    25 November 2026

    100 Machine Learning Interview Questions and Answers (Freshers to Experienced)

    25 November 2026

    K-Means Clustering in Machine Learning: An Interactive Guide (with Python)

    20 November 2026

    Decision Tree in Machine Learning: An Interactive Guide (with Python)

    18 November 2026

    Support Vector Machine (SVM) in Machine Learning: An Interactive Guide

    16 November 2026
    Facebook Instagram YouTube LinkedIn WhatsApp
    © 2025 Code and Debug. All rights reserved.

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