📄️ 3014 - Minimum Number of Pushes to Type Word I
Find the minimum number of pushes needed to type a string word after remapping keys on a telephone keypad.
📄️ String Compression
This is a solution to the String Compression problem on LeetCode.
📄️ 3000-Maximum area of longest diagonal rectangle
Solution of Maximum area of longest diagonal rectangle
📄️ 3000-Minimum Moves to Capture the Queen
Solution for Minimum Moves to Capture the Queen on a Chessboard
📄️ 3002 -Maximum Size of a Set After Removals
This is a solution to the Maximum Size of a Set After Removals problem on LeetCode.
📄️ 3003 -Maximize the Number of Partitions After Operations
This is a solution to the Maximize the Number of Partitions After Operations problem on LeetCode.
📄️ 3005 -Count Elements With Maximum Frequency
This is a solution to the Count Elements With Maximum Frequency problem on LeetCode.
📄️ 3006 -Find Beautiful Indices in the Given Array I
This is a solution to the Find Beautiful Indices in the Given Array I problem on LeetCode.
📄️ 3010 -Divide an Array Into Subarrays With Minimum Cost I
This is a solution to the Divide an Array Into Subarrays With Minimum Cost I problem on LeetCode.
📄️ 3019-NumberOfChangingKeys
Determine the number of times a user has to change the key when typing a given string.
📄️ 3021-AliceAndBobPlayingFlowerGame
Compute the number of possible pairs (x, y) of flowers that satisfy the game conditions for Alice and Bob.
📄️ 3024-TypeOfTriangle
Determine the type of triangle that can be formed by an array of integers representing the sides of the triangle.
📄️ 3028-AntOnTheBoundary
Determine how many times an ant returns to the boundary after reading an array of non-zero integers and moving according to their values.
📄️ Find the Grid of Region Average
Calculate the m x n grid result, where result[i][j] is the average intensity of the regions to which image[i][j] belongs, rounded down to the nearest integer.
📄️ Minimum Time to Revert Word to Initial State II
Solve the problem of finding the minimum time required for a word to revert to its initial state after performing specific operations.
📄️ 3033-ModifyTheMatrix
Modify a matrix by replacing each element with the value -1 with the maximum element in its respective column.
📄️ 3034-NumberOfSubarraysThatMatchAPatternI
Count the number of subarrays in an integer array that match a given pattern.
📄️ 3035-MaximumPalindromesAfterOperations
Determine the maximum number of palindromes that can be formed from an array of strings after performing some operations.
📄️ 3038-MaximumNumberOfOperationsWithTheSameScoreI
Find the maximum number of operations with the same score that can be performed on an array of integers.
📄️ 3040 - Maximum Number of Operations With the Same Score II
Find the maximum number of operations with the same score on an array of integers using specific deletion operations.
📄️ 3042-CountPrefixAndSuffixPairs
Count pairs of indices where one string is both a prefix and suffix of another string.
📄️ 3046-SplitTheArray
Determine if it's possible to split an array into two parts with distinct elements.
📄️ 3069-Distribute Elements Into Two Arrays I
This is a solution to the Distribute Elements Into Two Arrays I in leetcode
📄️ 3074-AppleRedistributionIntoBoxes
Calculate the minimum number of boxes needed to redistribute packs of apples into boxes.
📄️ 3075-maximize happiness of selected children
Given an array of happiness values, return the maximum sum of happiness values by selecting k children.
📄️ 3079-FindTheSumOfEncryptedIntegers
Calculate the sum of encrypted integers by replacing each digit in the integer with the largest digit in the integer.
📄️ 3080-MarkElementsOnArrayByPerformingQueries
Apply queries on an array to mark elements and calculate the sum of unmarked elements.
📄️ 3083-ExistenceOfSubstringInStringAndReverse
Check if any substring of length 2 in a string is also present in its reverse.
📄️ 3084-CountSubstringsStartingAndEndingWithGivenCharacter
Return the total number of substrings of a string that start and end with a given character.
📄️ 3095-ShortestSubarrayWithORAtLeastK
Find the length of the shortest special subarray where the bitwise OR is at least k.
📄️ 3096-MinimumLevelsToGainMorePoints
Determine the minimum number of levels Alice should play to gain more points than Bob, given that some levels are impossible to clear.
📄️ 3099 -Harshad-Number
This is a solution to the Harshad Number problem on LeetCode.