grindmapcompany-wise LeetCode
All companies

IBM LeetCode Questions

100 questions all-time · 26 easy · 65 medium · 9 hard
# Problem Difficulty Frequency Acceptance
1Exclusive Time of Functions
Medium
100
64.8%
2Integer to Roman
Medium
93
68.6%
3Fizz Buzz
Easy
90
74.4%
4Roman to Integer
Easy
89
64.9%
5Best Time to Buy and Sell Stock
Easy
88
55.3%
6Two Sum
Easy
85
55.8%
7Count Ways to Group Overlapping Ranges
Medium
85
38.1%
8Meeting Rooms II
Medium
83
52.1%
9Rotate Image
Medium
81
77.9%
10Number of Divisible Triplet Sums
Medium
81
67.8%
11Minimum Absolute Difference
Easy
81
70.7%
12Minimum Operations to Make All Array Elements Equal
Medium
81
36.9%
13Minimum Operations to Make Median of Array Equal to K
Medium
76
46.7%
14Maximum Profitable Triplets With Increasing Prices I
Medium
74
54.5%
15Find The First Player to win K Games in a Row
Medium
74
39.4%
16Activity Participants
Medium
74
72.3%
17The kth Factor of n
Medium
74
69.6%
18Find Products of Elements of Big Array
Hard
72
21.8%
19Merge Intervals
Medium
72
49.4%
20Type of Triangle
Easy
72
44.8%
21Taking Maximum Energy From the Mystic Dungeon
Medium
72
41.1%
22Find Occurrences of an Element in an Array
Medium
72
72.6%
23Find the Array Concatenation Value
Easy
72
71.0%
24String Compression
Medium
72
58.1%
25Minimum Levels to Gain More Points
Medium
72
39.1%
26Sort the Students by Their Kth Score
Medium
72
85.6%
27Longest Substring Without Repeating Characters
Medium
72
36.9%
28Average Value of Even Numbers That Are Divisible by Three
Easy
72
61.7%
29Count the Number of Incremovable Subarrays II
Hard
72
39.0%
30Minimum Length of String After Operations
Medium
72
74.9%
31Maximum Profitable Triplets With Increasing Prices II
Hard
72
43.3%
32Count Vowel Strings in Ranges
Medium
72
67.9%
33Maximum Units on a Truck
Easy
69
74.3%
34Longest Common Prefix
Easy
69
45.5%
35Get Equal Substrings Within Budget
Medium
67
59.0%
36Count Binary Substrings
Easy
67
65.9%
37Valid Parentheses
Easy
67
42.3%
38Minimum Suffix Flips
Medium
64
73.5%
39Letter Combinations of a Phone Number
Medium
64
63.9%
40Maximum Sum of Distinct Subarrays With Length K
Medium
64
42.6%
41Numbers With Repeated Digits
Hard
64
43.5%
42Longest Palindromic Substring
Medium
60
35.8%
43Lexicographically Smallest String After Substring Operation
Medium
60
32.3%
44Merge Sorted Array
Easy
60
52.9%
45Longest Consecutive Sequence
Medium
60
47.0%
46Count Pairs Of Similar Strings
Easy
56
72.5%
47Maximum Subarray
Medium
56
52.1%
48Shortest and Lexicographically Smallest Beautiful String
Medium
56
39.7%
49Spiral Matrix
Medium
56
53.9%
50Number of Divisible Substrings
Medium
56
73.4%
51Validate Binary Search Tree
Medium
51
34.4%
52Smallest Missing Non-negative Integer After Operations
Medium
51
39.9%
53Subarray Product Less Than K
Medium
51
52.9%
54Climbing Stairs
Easy
51
53.5%
55Divide Players Into Teams of Equal Skill
Medium
51
68.9%
56Minimum Swaps to Group All 1's Together II
Medium
51
65.5%
57Group Anagrams
Medium
51
70.9%
58Find Minimum in Rotated Sorted Array
Medium
44
52.6%
59Median of Two Sorted Arrays
Hard
44
43.8%
60Subsets
Medium
44
80.9%
61Find the Index of the First Occurrence in a String
Easy
44
45.0%
62Subarray Sum Equals K
Medium
44
45.5%
63Number of Operations to Make Network Connected
Medium
44
64.7%
64Palindrome Number
Easy
44
59.2%
65Next Permutation
Medium
44
43.1%
66Backspace String Compare
Easy
44
49.5%
67Trapping Rain Water
Hard
44
65.1%
68Odd String Difference
Easy
44
61.1%
69Single-Threaded CPU
Medium
44
46.5%
70Rotate Array
Medium
44
43.0%
71Product of Array Except Self
Medium
44
67.8%
72Longest Increasing Subsequence
Medium
44
57.8%
73Flipping an Image
Easy
44
83.0%
74Flip String to Monotone Increasing
Medium
44
61.6%
75Find The Original Array of Prefix Xor
Medium
44
88.1%
76Intersection of Two Arrays
Easy
44
76.5%
77N-Queens
Hard
35
72.8%
78Find All Possible Stable Binary Arrays II
Hard
35
25.9%
79Removing Stars From a String
Medium
35
78.0%
80Minimum Number of Flips to Make the Binary String Alternating
Medium
35
40.5%
81Rearrange Array to Maximize Prefix Score
Medium
35
41.5%
82Range Product Queries of Powers
Medium
35
41.9%
83Happy Number
Easy
35
58.1%
84Degree of an Array
Easy
35
57.4%
85Generate Parentheses
Medium
35
77.1%
86LRU Cache
Medium
35
45.2%
87Majority Element
Easy
35
65.7%
88Find the Duplicate Number
Medium
35
62.8%
89Increasing Triplet Subsequence
Medium
35
39.1%
90Find Longest Calls
Medium
35
62.8%
91Partition Equal Subset Sum
Medium
35
48.4%
92132 Pattern
Medium
35
34.1%
93The Employee That Worked on the Longest Task
Easy
35
50.6%
94Count Number of Teams
Medium
35
70.1%
95Least Number of Unique Integers after K Removals
Medium
35
63.4%
96Task Scheduler
Medium
35
61.5%
97Minimum Operations to Reduce an Integer to 0
Medium
35
57.3%
98Prime In Diagonal
Easy
35
36.2%
99Word Break
Medium
35
48.3%
100Maximum Number of Tasks You Can Assign
Hard
35
50.6%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.

Similar companies