IBM

115 LeetCode interview questions

Difficulty Distribution

Easy
33
29%
Medium
73
63%
Hard
9
8%

Top Topics

All Questions

TitleDifficulty
Find the Smallest Divisor Given a ThresholdMedium
Gray CodeMedium
3SumMedium
Exclusive Time of FunctionsMedium
Integer to RomanMedium
Minimum Operations to Make Columns Strictly IncreasingEasy
Fizz BuzzEasy
Roman to IntegerEasy
Best Time to Buy and Sell StockEasy
Count Ways to Group Overlapping RangesMedium
Two SumEasy
Meeting Rooms IIMedium
Rotate ImageMedium
Minimum Absolute DifferenceEasy
Minimum Operations to Make All Array Elements EqualMedium
Number of Divisible Triplet SumsMedium
Find Pivot IndexEasy
Minimum Operations to Make Median of Array Equal to KMedium
The kth Factor of nMedium
Activity ParticipantsMedium
Maximum Profitable Triplets With Increasing Prices IMedium
Find The First Player to win K Games in a RowMedium
Count Vowel Strings in RangesMedium
Merge IntervalsMedium
Longest Substring Without Repeating CharactersMedium
Count the Number of Incremovable Subarrays IIHard
String CompressionMedium
Maximum Profitable Triplets With Increasing Prices IIHard
Sort the Students by Their Kth ScoreMedium
Find the Array Concatenation ValueEasy
Average Value of Even Numbers That Are Divisible by ThreeEasy
Minimum Levels to Gain More PointsMedium
Find Products of Elements of Big ArrayHard
Type of TriangleEasy
Find Occurrences of an Element in an ArrayMedium
Minimum Length of String After OperationsMedium
Taking Maximum Energy From the Mystic DungeonMedium
Height CheckerEasy
Largest Number After Digit Swaps by ParityEasy
Maximum Units on a TruckEasy
Longest Common PrefixEasy
Valid ParenthesesEasy
Get Equal Substrings Within BudgetMedium
Count Binary SubstringsEasy
Make Lexicographically Smallest Array by Swapping ElementsMedium
Merge Strings AlternatelyEasy
Letter Combinations of a Phone NumberMedium
Numbers With Repeated DigitsHard
Maximum Sum of Distinct Subarrays With Length KMedium
Minimum Suffix FlipsMedium
Longest Consecutive SequenceMedium
Longest Palindromic SubstringMedium
Merge Sorted ArrayEasy
Lexicographically Smallest String After Substring OperationMedium
Maximum SubarrayMedium
Shortest and Lexicographically Smallest Beautiful StringMedium
Spiral MatrixMedium
Number of Divisible SubstringsMedium
Count Pairs Of Similar StringsEasy
Longest Mountain in ArrayMedium
Kth Missing Positive NumberEasy
Divide Intervals Into Minimum Number of GroupsMedium
Group AnagramsMedium
Minimum Swaps to Group All 1's Together IIMedium
Divide Players Into Teams of Equal SkillMedium
Validate Binary Search TreeMedium
Smallest Missing Non-negative Integer After OperationsMedium
Subarray Product Less Than KMedium
Climbing StairsEasy
Trapping Rain WaterHard
Product of Array Except SelfMedium
Flipping an ImageEasy
Next PermutationMedium
Find the Index of the First Occurrence in a StringEasy
Backspace String CompareEasy
Number of Operations to Make Network ConnectedMedium
Longest Increasing SubsequenceMedium
Subarray Sum Equals KMedium
Intersection of Two ArraysEasy
Rotate ArrayMedium
Flip String to Monotone IncreasingMedium
Single-Threaded CPUMedium
Median of Two Sorted ArraysHard
Find The Original Array of Prefix XorMedium
SubsetsMedium
Find Minimum in Rotated Sorted ArrayMedium
Palindrome NumberEasy
Odd String DifferenceEasy
Reverse IntegerMedium
Gas StationMedium
Remove Duplicates from Sorted ArrayEasy
Count Number of TeamsMedium
Minimum Number of Flips to Make the Binary String AlternatingMedium
Find All Possible Stable Binary Arrays IIHard
Rearrange Array to Maximize Prefix ScoreMedium
Generate ParenthesesMedium
Least Number of Unique Integers after K RemovalsMedium
Happy NumberEasy
Range Product Queries of PowersMedium
Prime In DiagonalEasy
Word BreakMedium
Degree of an ArrayEasy
132 PatternMedium
Partition Equal Subset SumMedium
Minimum Operations to Reduce an Integer to 0Medium
Increasing Triplet SubsequenceMedium
Find Longest CallsMedium
Find the Duplicate NumberMedium
The Employee That Worked on the Longest TaskEasy
LRU CacheMedium
Majority ElementEasy
Task SchedulerMedium
N-QueensHard
Removing Stars From a StringMedium
Maximum Number of Tasks You Can AssignHard

Showing 115 of 115 questions