1482. Minimum Number of Days to Make m Bouquets
You are given an integer array bloomDay, an integer m and an integer k. You want to make m bouquets. To make a bouquet, you need […]
You are given an integer array bloomDay, an integer m and an integer k. You want to make m bouquets. To make a bouquet, you need […]
You are given a perimeter & the area. Your task is to return the maximum volume that can be made in the form of a cuboid from the
You have n jobs and m workers. You are given three arrays: difficulty, profit, and worker where: difficulty[i] and profit[i] are the difficulty and the profit of the ith job, and worker[j] is the
Given a circular sheet of radius, r. Find the total number of rectangles with integral length and width that can be
Given a non-negative integer c, decide whether there’re two integers a and b such that a2 + b2 = c.Example 1: Input: c = 5 Output: true Explanation:
Given the coordinates of the endpoints(p1,q1, and p2,q2) of the two line segments. Check if they intersect or not. If
Given a sorted integer array nums and an integer n, add/patch elements to the array such that any number in the range [1, n] inclusive
Given a number n, find out if n can be expressed as a+b, where both a and b are prime
There is a standard numeric keypad on a mobile phone. You can only press the current button or buttons that