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

    Binary Search | Leetcode 704 | Explained in Python

    5 Mins Read

    Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums. If target exists, then…

    Data Structures & Algorithms

    Majority Element II | Leetcode 229 | Explained in Python

    5 Mins Read

    You’re given an integer array nums of length n.An element is called a majority element II if it appears strictly…

    Data Structures & Algorithms

    Array Leaders | Optimal Solution in Python

    3 Mins Read

    Given an array arr[] of size n, an element is called an Array Leaders if it is greater than or…

    Data Structures & Algorithms

    Majority Element | Leetcode 169 | Explained in Python

    4 Mins Read

    The “Majority Element” problem (LeetCode #169) asks you to find the value that appears strictly more than ⌊ n /…

    Data Structures & Algorithms

    Sort Colors | Leetcode 75 | Brute, Better and Optimal

    5 Mins Read

    LeetCode “Sort Colors” (#75) asks you to sort an array that contains only three distinct values—0, 1, and 2—so that…

    Data Structures & Algorithms

    Recursive Insertion Sort in Python

    3 Mins Read

    You’re asked to sort an array using Insertion Sort, but instead of the classic iterative two-loop approach, you must implement…

    Data Structures & Algorithms

    Recursive Bubble Sort in Python

    3 Mins Read

    You’re given an unsorted array of integers and asked to sort it in non-decreasing order using Bubble Sort, but implemented…

    Data Structures & Algorithms

    Sum of first n terms | Using Recursion | Explained

    2 Mins Read

    The GeeksforGeeks problem “Sum of first n terms” asks you to compute the value of and return the result. All…

    Data Structures & Algorithms

    Print N to 1 without loop | Normal Recursion and Backtracking

    3 Mins Read

    The “Print N to 1 without loop” problem on GeeksforGeeks challenges you to output the integers from N down to…

    Data Structures & Algorithms

    Print N times with Recursion | GFG

    3 Mins Read

    The “Print N times with Recursion” problem on GeeksforGeeks asks you to output the string “GFG” exactly N times, using…

    Previous 1 … 16 17 18 19 20 … 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.