M

MathWorks

29 questions tracked28 with solutions
🔍
Frequency scoreSorted highest → lowest frequency✓ Our Solution = we have a detailed walkthrough

Showing 29 of 29 questions

1
HardCount Subarrays With Fixed Bounds✓ Our Solution
100
ArrayQueueSliding WindowMonotonic Queue
LeetCode ↗69% acc.
2
MediumMaximum Number of Alloys✓ Our Solution
99
ArrayBinary Search
LeetCode ↗39% acc.
3
MediumSell Diminishing-Valued Colored Balls✓ Our Solution
91
ArrayMathBinary SearchGreedy+2
LeetCode ↗30% acc.
4
EasyReshape the Matrix✓ Our Solution
91
ArrayMatrixSimulation
LeetCode ↗64% acc.
5
MediumTotal Cost to Hire K Workers✓ Our Solution
91
ArrayTwo PointersHeap (Priority Queue)Simulation
LeetCode ↗43% acc.
6
MediumEarliest Second to Mark Indices I✓ Our Solution
89
ArrayBinary Search
LeetCode ↗35% acc.
7
HardBinary Tree Cameras✓ Our Solution
89
Dynamic ProgrammingTreeDepth-First SearchBinary Tree
LeetCode ↗47% acc.
8
EasyKeyboard Row✓ Our Solution
89
ArrayHash TableString
LeetCode ↗72% acc.
9
MediumMaximum Palindromes After Operations✓ Our Solution
89
ArrayHash TableStringGreedy+2
LeetCode ↗43% acc.
10
MediumShopping Offers✓ Our Solution
89
ArrayDynamic ProgrammingBacktrackingBit Manipulation+2
LeetCode ↗52% acc.
11
HardEarliest Second to Mark Indices II✓ Our Solution
89
ArrayBinary SearchGreedyHeap (Priority Queue)
LeetCode ↗20% acc.
12
HardLast Substring in Lexicographical Order✓ Our Solution
89
Two PointersString
LeetCode ↗35% acc.
13
HardCount Anagrams✓ Our Solution
89
Hash TableMathStringCombinatorics+1
LeetCode ↗35% acc.
14
MediumRemove Colored Pieces if Both Neighbors are the Same Color✓ Our Solution
89
MathStringGreedyGame Theory
LeetCode ↗63% acc.
15
MediumMinimum Cost Tree From Leaf Values✓ Our Solution
89
ArrayDynamic ProgrammingStackGreedy+1
LeetCode ↗68% acc.
16
EasyPass the Pillow✓ Our Solution
81
MathSimulation
LeetCode ↗57% acc.
17
HardString Transformation✓ Our Solution
81
MathStringDynamic ProgrammingString Matching
LeetCode ↗25% acc.
18
HardMinimum Edge Reversals So Every Node Is Reachable✓ Our Solution
73
Dynamic ProgrammingDepth-First SearchBreadth-First SearchGraph
LeetCode ↗55% acc.
19
MediumLongest String Chain✓ Our Solution
61
ArrayHash TableTwo PointersString+2
LeetCode ↗62% acc.
20
HardSum of Distances in Tree✓ Our Solution
61
Dynamic ProgrammingTreeDepth-First SearchGraph
LeetCode ↗65% acc.
21
MediumNumber of Divisible Triplet Sums
61
ArrayHash Table
LeetCode ↗68% acc.
22
HardSplit Array Largest Sum✓ Our Solution
61
ArrayBinary SearchDynamic ProgrammingGreedy+1
LeetCode ↗58% acc.
23
MediumBreak a Palindrome✓ Our Solution
51
StringGreedy
LeetCode ↗52% acc.
24
HardReverse Nodes in k-Group✓ Our Solution
51
Linked ListRecursion
LeetCode ↗63% acc.
25
EasyMaximum Difference Between Increasing Elements✓ Our Solution
51
Array
LeetCode ↗66% acc.
26
EasyConvert Binary Number in a Linked List to Integer✓ Our Solution
51
Linked ListMath
LeetCode ↗81% acc.
27
MediumLongest Repeating Character Replacement✓ Our Solution
51
Hash TableStringSliding Window
LeetCode ↗57% acc.
28
HardDistinct Subsequences✓ Our Solution
51
StringDynamic Programming
LeetCode ↗50% acc.
29
MediumBeautiful Arrangement✓ Our Solution
51
ArrayDynamic ProgrammingBacktrackingBit Manipulation+1
LeetCode ↗65% acc.