dume0011Leetcode 1092: Shortest Common SupersequenceGiven two strings str1 and str2, return the shortest string that has both str1 and str2 as subsequences. If there are multiple valid…May 14May 14
dume0011Leetcode 1072: Flip Columns For Maximum Number of Equal RowsYou are given an m x n binary matrix matrix.May 3May 3
dume0011Leetcode 1049: Last Stone Weight IIYou are given an array of integers stones where stones[i] is the weight of the ith stone.Apr 24Apr 24
dume0011Leetcode 1029: Two city SchedulingA company is planning to interview 2n people. Given the array costs where costs[i] = [aCosti, bCosti], the cost of flying the ith person to…Apr 5Apr 5
dume0011Leetcode 3102: Minimize Manhattan DistancesYou are given a 0-indexed array points representing integer coordinates of some points on a 2D plane, where points[i] = [xi, yi].Mar 31Mar 31
dume0011Leetcode 968: Binary Tree CamerasYou are given the root of a binary tree. We install cameras on the tree nodes where each camera at a node can monitor its parent, itself…Jan 24Jan 24
dume0011Leetcode 3017: Count the Number of House at a Certain Distance IIYou are given three positive integers n, x, and y.Jan 24Jan 24
dume0011Leetcode 956: Tallest BillboardYou are installing a billboard and want it to have the largest height. The billboard will have two steel supports, one on each side. Each…Jan 10Jan 10
dume0011Leetcode 940: Distinct Subsequences IIGiven a string s, return the number of distinct non-empty subsequences of s. Since the answer may be very large, return it modulo 10^9 + 7.Dec 26, 2023Dec 26, 2023
dume0011Leetcode 2949: Count Beautiful Substrings IIYou are given a string s and a positive integer k.Nov 26, 2023Nov 26, 2023