I

IBM

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

Showing 100 of 100 questions

1
MediumExclusive Time of Functions✓ Our Solution
100
ArrayStack
LeetCode ↗65% acc.
2
MediumInteger to Roman✓ Our Solution
93
Hash TableMathString
LeetCode ↗69% acc.
3
EasyFizz Buzz✓ Our Solution
90
MathStringSimulation
LeetCode ↗74% acc.
4
EasyRoman to Integer✓ Our Solution
89
Hash TableMathString
LeetCode ↗65% acc.
5
EasyBest Time to Buy and Sell Stock✓ Our Solution
88
ArrayDynamic Programming
LeetCode ↗55% acc.
6
EasyTwo Sum✓ Our Solution
85
ArrayHash Table
LeetCode ↗56% acc.
7
MediumCount Ways to Group Overlapping Ranges✓ Our Solution
85
ArraySorting
LeetCode ↗38% acc.
8
MediumMeeting Rooms II
83
ArrayTwo PointersGreedySorting+2
LeetCode ↗52% acc.
9
MediumRotate Image✓ Our Solution
81
ArrayMathMatrix
LeetCode ↗78% acc.
10
MediumNumber of Divisible Triplet Sums
81
ArrayHash Table
LeetCode ↗68% acc.
11
EasyMinimum Absolute Difference✓ Our Solution
81
ArraySorting
LeetCode ↗71% acc.
12
MediumMinimum Operations to Make All Array Elements Equal✓ Our Solution
81
ArrayBinary SearchSortingPrefix Sum
LeetCode ↗37% acc.
13
MediumMinimum Operations to Make Median of Array Equal to K✓ Our Solution
76
ArrayGreedySorting
LeetCode ↗47% acc.
14
MediumMaximum Profitable Triplets With Increasing Prices I
74
ArrayBinary Indexed TreeSegment Tree
LeetCode ↗55% acc.
15
MediumFind The First Player to win K Games in a Row✓ Our Solution
74
ArraySimulation
LeetCode ↗39% acc.
16
MediumActivity Participants
74
Database
LeetCode ↗72% acc.
17
MediumThe kth Factor of n✓ Our Solution
74
MathNumber Theory
LeetCode ↗70% acc.
18
HardFind Products of Elements of Big Array✓ Our Solution
72
ArrayBinary SearchBit Manipulation
LeetCode ↗22% acc.
19
MediumMerge Intervals✓ Our Solution
72
ArraySorting
LeetCode ↗49% acc.
20
EasyType of Triangle✓ Our Solution
72
ArrayMathSorting
LeetCode ↗45% acc.
21
MediumTaking Maximum Energy From the Mystic Dungeon✓ Our Solution
72
ArrayPrefix Sum
LeetCode ↗41% acc.
22
MediumFind Occurrences of an Element in an Array✓ Our Solution
72
ArrayHash Table
LeetCode ↗73% acc.
23
EasyFind the Array Concatenation Value✓ Our Solution
72
ArrayTwo PointersSimulation
LeetCode ↗71% acc.
24
MediumString Compression✓ Our Solution
72
Two PointersString
LeetCode ↗58% acc.
25
MediumMinimum Levels to Gain More Points✓ Our Solution
72
ArrayPrefix Sum
LeetCode ↗39% acc.
26
MediumSort the Students by Their Kth Score✓ Our Solution
72
ArraySortingMatrix
LeetCode ↗86% acc.
27
MediumLongest Substring Without Repeating Characters✓ Our Solution
72
Hash TableStringSliding Window
LeetCode ↗37% acc.
28
EasyAverage Value of Even Numbers That Are Divisible by Three✓ Our Solution
72
ArrayMath
LeetCode ↗62% acc.
29
HardCount the Number of Incremovable Subarrays II✓ Our Solution
72
ArrayTwo PointersBinary Search
LeetCode ↗39% acc.
30
MediumMinimum Length of String After Operations✓ Our Solution
72
Hash TableStringCounting
LeetCode ↗75% acc.
31
HardMaximum Profitable Triplets With Increasing Prices II
72
ArrayBinary Indexed TreeSegment Tree
LeetCode ↗43% acc.
32
MediumCount Vowel Strings in Ranges✓ Our Solution
72
ArrayStringPrefix Sum
LeetCode ↗68% acc.
33
EasyMaximum Units on a Truck✓ Our Solution
69
ArrayGreedySorting
LeetCode ↗74% acc.
34
EasyLongest Common Prefix✓ Our Solution
69
StringTrie
LeetCode ↗45% acc.
35
MediumGet Equal Substrings Within Budget✓ Our Solution
67
StringBinary SearchSliding WindowPrefix Sum
LeetCode ↗59% acc.
36
EasyCount Binary Substrings✓ Our Solution
67
Two PointersString
LeetCode ↗66% acc.
37
EasyValid Parentheses✓ Our Solution
67
StringStack
LeetCode ↗42% acc.
38
MediumMinimum Suffix Flips✓ Our Solution
64
StringGreedy
LeetCode ↗73% acc.
39
MediumLetter Combinations of a Phone Number✓ Our Solution
64
Hash TableStringBacktracking
LeetCode ↗64% acc.
40
MediumMaximum Sum of Distinct Subarrays With Length K✓ Our Solution
64
ArrayHash TableSliding Window
LeetCode ↗43% acc.
41
HardNumbers With Repeated Digits✓ Our Solution
64
MathDynamic Programming
LeetCode ↗43% acc.
42
MediumLongest Palindromic Substring✓ Our Solution
60
Two PointersStringDynamic Programming
LeetCode ↗36% acc.
43
MediumLexicographically Smallest String After Substring Operation✓ Our Solution
60
StringGreedy
LeetCode ↗32% acc.
44
EasyMerge Sorted Array✓ Our Solution
60
ArrayTwo PointersSorting
LeetCode ↗53% acc.
45
MediumLongest Consecutive Sequence✓ Our Solution
60
ArrayHash TableUnion Find
LeetCode ↗47% acc.
46
EasyCount Pairs Of Similar Strings✓ Our Solution
56
ArrayHash TableStringBit Manipulation+1
LeetCode ↗72% acc.
47
MediumMaximum Subarray✓ Our Solution
56
ArrayDivide and ConquerDynamic Programming
LeetCode ↗52% acc.
48
MediumShortest and Lexicographically Smallest Beautiful String✓ Our Solution
56
StringSliding Window
LeetCode ↗40% acc.
49
MediumSpiral Matrix✓ Our Solution
56
ArrayMatrixSimulation
LeetCode ↗54% acc.
50
MediumNumber of Divisible Substrings
56
Hash TableStringCountingPrefix Sum
LeetCode ↗73% acc.
51
MediumValidate Binary Search Tree✓ Our Solution
51
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗34% acc.
52
MediumSmallest Missing Non-negative Integer After Operations✓ Our Solution
51
ArrayHash TableMathGreedy
LeetCode ↗40% acc.
53
MediumSubarray Product Less Than K✓ Our Solution
51
ArrayBinary SearchSliding WindowPrefix Sum
LeetCode ↗53% acc.
54
EasyClimbing Stairs✓ Our Solution
51
MathDynamic ProgrammingMemoization
LeetCode ↗54% acc.
55
MediumDivide Players Into Teams of Equal Skill✓ Our Solution
51
ArrayHash TableTwo PointersSorting
LeetCode ↗69% acc.
56
MediumMinimum Swaps to Group All 1's Together II✓ Our Solution
51
ArraySliding Window
LeetCode ↗66% acc.
57
MediumGroup Anagrams✓ Our Solution
51
ArrayHash TableStringSorting
LeetCode ↗71% acc.
58
MediumFind Minimum in Rotated Sorted Array✓ Our Solution
44
ArrayBinary Search
LeetCode ↗53% acc.
59
HardMedian of Two Sorted Arrays✓ Our Solution
44
ArrayBinary SearchDivide and Conquer
LeetCode ↗44% acc.
60
MediumSubsets✓ Our Solution
44
ArrayBacktrackingBit Manipulation
LeetCode ↗81% acc.
61
EasyFind the Index of the First Occurrence in a String✓ Our Solution
44
Two PointersStringString Matching
LeetCode ↗45% acc.
62
MediumSubarray Sum Equals K✓ Our Solution
44
ArrayHash TablePrefix Sum
LeetCode ↗45% acc.
63
MediumNumber of Operations to Make Network Connected✓ Our Solution
44
Depth-First SearchBreadth-First SearchUnion FindGraph
LeetCode ↗65% acc.
64
EasyPalindrome Number✓ Our Solution
44
Math
LeetCode ↗59% acc.
65
MediumNext Permutation✓ Our Solution
44
ArrayTwo Pointers
LeetCode ↗43% acc.
66
EasyBackspace String Compare✓ Our Solution
44
Two PointersStringStackSimulation
LeetCode ↗49% acc.
67
HardTrapping Rain Water✓ Our Solution
44
ArrayTwo PointersDynamic ProgrammingStack+1
LeetCode ↗65% acc.
68
EasyOdd String Difference✓ Our Solution
44
ArrayHash TableString
LeetCode ↗61% acc.
69
MediumSingle-Threaded CPU✓ Our Solution
44
ArraySortingHeap (Priority Queue)
LeetCode ↗46% acc.
70
MediumRotate Array✓ Our Solution
44
ArrayMathTwo Pointers
LeetCode ↗43% acc.
71
MediumProduct of Array Except Self✓ Our Solution
44
ArrayPrefix Sum
LeetCode ↗68% acc.
72
MediumLongest Increasing Subsequence✓ Our Solution
44
ArrayBinary SearchDynamic Programming
LeetCode ↗58% acc.
73
EasyFlipping an Image✓ Our Solution
44
ArrayTwo PointersBit ManipulationMatrix+1
LeetCode ↗83% acc.
74
MediumFlip String to Monotone Increasing✓ Our Solution
44
StringDynamic Programming
LeetCode ↗62% acc.
75
MediumFind The Original Array of Prefix Xor✓ Our Solution
44
ArrayBit Manipulation
LeetCode ↗88% acc.
76
EasyIntersection of Two Arrays✓ Our Solution
44
ArrayHash TableTwo PointersBinary Search+1
LeetCode ↗76% acc.
77
HardN-Queens✓ Our Solution
35
ArrayBacktracking
LeetCode ↗73% acc.
78
HardFind All Possible Stable Binary Arrays II✓ Our Solution
35
Dynamic ProgrammingPrefix Sum
LeetCode ↗26% acc.
79
MediumRemoving Stars From a String✓ Our Solution
35
StringStackSimulation
LeetCode ↗78% acc.
80
MediumMinimum Number of Flips to Make the Binary String Alternating✓ Our Solution
35
StringDynamic ProgrammingSliding Window
LeetCode ↗41% acc.
81
MediumRearrange Array to Maximize Prefix Score✓ Our Solution
35
ArrayGreedySortingPrefix Sum
LeetCode ↗42% acc.
82
MediumRange Product Queries of Powers✓ Our Solution
35
ArrayBit ManipulationPrefix Sum
LeetCode ↗42% acc.
83
EasyHappy Number✓ Our Solution
35
Hash TableMathTwo Pointers
LeetCode ↗58% acc.
84
EasyDegree of an Array✓ Our Solution
35
ArrayHash Table
LeetCode ↗57% acc.
85
MediumGenerate Parentheses✓ Our Solution
35
StringDynamic ProgrammingBacktracking
LeetCode ↗77% acc.
86
MediumLRU Cache✓ Our Solution
35
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗45% acc.
87
EasyMajority Element✓ Our Solution
35
ArrayHash TableDivide and ConquerSorting+1
LeetCode ↗66% acc.
88
MediumFind the Duplicate Number✓ Our Solution
35
ArrayTwo PointersBinary SearchBit Manipulation
LeetCode ↗63% acc.
89
MediumIncreasing Triplet Subsequence✓ Our Solution
35
ArrayGreedy
LeetCode ↗39% acc.
90
MediumFind Longest Calls
35
Database
LeetCode ↗63% acc.
91
MediumPartition Equal Subset Sum✓ Our Solution
35
ArrayDynamic Programming
LeetCode ↗48% acc.
92
Medium132 Pattern✓ Our Solution
35
ArrayBinary SearchStackMonotonic Stack+1
LeetCode ↗34% acc.
93
EasyThe Employee That Worked on the Longest Task✓ Our Solution
35
Array
LeetCode ↗51% acc.
94
MediumCount Number of Teams✓ Our Solution
35
ArrayDynamic ProgrammingBinary Indexed TreeSegment Tree
LeetCode ↗70% acc.
95
MediumLeast Number of Unique Integers after K Removals✓ Our Solution
35
ArrayHash TableGreedySorting+1
LeetCode ↗63% acc.
96
MediumTask Scheduler✓ Our Solution
35
ArrayHash TableGreedySorting+2
LeetCode ↗62% acc.
97
MediumMinimum Operations to Reduce an Integer to 0✓ Our Solution
35
Dynamic ProgrammingGreedyBit Manipulation
LeetCode ↗57% acc.
98
EasyPrime In Diagonal✓ Our Solution
35
ArrayMathMatrixNumber Theory
LeetCode ↗36% acc.
99
MediumWord Break✓ Our Solution
35
ArrayHash TableStringDynamic Programming+2
LeetCode ↗48% acc.
100
HardMaximum Number of Tasks You Can Assign✓ Our Solution
35
ArrayTwo PointersBinary SearchGreedy+3
LeetCode ↗51% acc.