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

    Implement Upper Bound

    3 Mins Read

    In a sorted array arr[], the upper bound of x is the index of the first element that is strictly…

    Data Structures & Algorithms

    Implement Lower Bound | Floor in a Sorted Array (GFG)

    4 Mins Read

    Given a sorted array arr[] and an integer x, find the index (0-based) of the largest element in arr[] that is less than…

    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…

    Previous 1 … 15 16 17 18 19 … 25 Next
    Categories
    • AI & Machine Learning (4)
    • Data Structures & Algorithms (241)
      • Beginner (82)
      • Expert (52)
      • Intermediate (106)
    • Pandas (1)
    • Python (1)
    • Resume (1)
    • SQL (1)
    Recent Posts

    Confusion Matrix in Machine Learning: An Interactive Guide

    21 October 2026

    100 SQL Interview Questions with Queries and Answers (Freshers to Experienced)

    17 October 2026

    Logistic Regression in Machine Learning: Explained Visually (with Python)

    17 October 2026

    Linear Regression in Machine Learning: Explained Visually (with Python)

    17 October 2026

    100 Python Interview Questions and Answers for Freshers and Experienced (Free PDF)

    17 October 2026
    Facebook Instagram YouTube LinkedIn WhatsApp
    © 2025 Code and Debug. All rights reserved.

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