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