摘要:
1526. Minimum Number of Increments on Subarrays to Form a Target Array You are given an integer array target. You have an integer array initial of the 阅读全文
摘要:
3186. Maximum Total Damage With Spell Casting A magician has various spells. You are given an array power, where each element represents the damage of 阅读全文
摘要:
2007. Find Original Array From Doubled Array An integer array original is transformed into a doubled array changed by appending twice the value of eve 阅读全文
摘要:
378. Kth Smallest Element in a Sorted Matrix Solved Medium Topics Companies Given an n x n matrix where each of the rows and columns is sorted in asce 阅读全文
摘要:
149. Max Points on a Line Given an array of points where points[i] = [xi, yi] represents a point on the X-Y plane, return the maximum number of points 阅读全文
摘要:
2484. Count Palindromic Subsequences Given a string of digits s, return the number of palindromic subsequences of s having length 5. Since the answer 阅读全文
摘要:
31. Next Permutation Medium 168634309Add to ListShare A permutation of an array of integers is an arrangement of its members into a sequence or linear 阅读全文
摘要:
1235. Maximum Profit in Job Scheduling Hard 539662Add to ListShare We have n jobs, where every job is scheduled to be done from startTime[i] to endTim 阅读全文
摘要:
Given an array of n elements, where each element is at most k away from its target position, you need to sort the array optimally. Example 1: Input: n 阅读全文