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

    Longest Common Substring | Solved using Tabulation

    4 Mins Read

    Given two strings text1 and text2, find the length of the longest common substring between them. A substring is a…

    Data Structures & Algorithms

    Print the Longest Common Subsequence | Build Table, Then Reconstruct

    4 Mins Read

    Given two strings text1 and text2, the goal is to print one actual Longest Common Subsequence (LCS), not just its…

    Data Structures & Algorithms

    Longest Common Subsequence | Leetcode 1143 | All DP Approach

    6 Mins Read

    Given two strings text1 and text2, find the length of their Longest Common Subsequence (LCS). A subsequence is a sequence…

    Data Structures & Algorithms

    Insert Interval | Leetcode 57 | Greedy Solution

    3 Mins Read

    You are given a list of non-overlapping intervals sorted by start time, and a new interval to insert. Your task…

    Data Structures & Algorithms

    Shortest Job first (SJF) | Greedy Algorithm

    3 Mins Read

    You are given a list of CPU burst times for processes that all arrive at time 0. Using Shortest Job…

    Data Structures & Algorithms

    Candy | Leetcode 135 | Brute, Better and Optimal Solution

    6 Mins Read

    You are given an integer array ratings representing the rating of each child standing in a line. You must give…

    Data Structures & Algorithms

    Job Sequencing Problem | Greedy Solution

    4 Mins Read

    The Job Sequencing Problem asks you to schedule jobs to maximize total profit, given that each job: You need to…

    Data Structures & Algorithms

    Minimum Platforms | Optimal Greedy Solution

    4 Mins Read

    This classic scheduling problem asks you to find the minimum number of railway platforms required so that no train has…

    Data Structures & Algorithms

    Jump Game II | Leetcode 45 | Recursive and Greedy Solution

    5 Mins Read

    This problem asks: given an array nums where nums[i] is the maximum jump length from index i, find the minimum…

    Data Structures & Algorithms

    Jump Game | Leetcode 55 | Greedy Solution

    4 Mins Read

    The Jump Game is a popular interview problem and a classic example of applying a Greedy Algorithm. It appears frequently…

    Previous 1 2 3 4 5 6 … 25 Next
    Categories
    • Data Structures & Algorithms (240)
      • Beginner (82)
      • Expert (52)
      • Intermediate (106)
    • Uncategorised (1)
    Recent Posts

    Symmetric Tree | Leetcode 101 | Recursive DFS Approach

    2 September 2025

    Binary Tree Right Side View | Leetcode 199 | BFS and DFS Approaches

    2 September 2025

    Bottom View of Binary Tree | BFS with Horizontal Distance Mapping

    2 September 2025

    Top View of Binary Tree | BFS with Horizontal Distance Mapping

    2 September 2025

    Vertical Order Traversal of a Binary Tree | Leetcode 987 | BFS + Sorting Solution

    2 September 2025
    Facebook Instagram YouTube LinkedIn WhatsApp
    © 2025 Code and Debug. All rights reserved.

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