All IBM Coding Interview Questions
169 questions we track for IBM, most frequently asked first. Practice any of them in the code editor and get AI feedback on your solution.
- Junior32% (54)
- Mid/Senior58% (98)
- Staff10% (17)
Questionspage 2 of 2
- Last Substring in Lexicographical Order5 companiesStaff
- Minimum Cost to Connect Sticks6 companiesMid/Senior
- Minimum Absolute Difference15 companiesJunior
- Get Equal Substrings Within Budget3 companiesMid/Senior
- Find the Smallest Divisor Given a Threshold13 companiesMid/Senior
- Minimum Insertion Steps to Make a String Palindrome6 companiesStaff
- Number of Operations to Make Network Connected10 companiesMid/Senior
- Count Number of Teams4 companiesMid/Senior
- Minimum Value to Get Positive Step by Step Sum9 companiesJunior
- Number of Substrings With Only 1s3 companiesMid/Senior
- Water Bottles9 companiesJunior
- Minimum Number of Increments on Subarrays to Form a Target Array7 companiesStaff
- Kth Missing Positive Number9 companiesJunior
- Alert Using Same Key-Card Three or More Times in a One Hour Period5 companiesMid/Senior
- Sum of Absolute Differences in a Sorted Array4 companiesMid/Senior
- Maximum Units on a Truck9 companiesJunior
- Check if Array Is Sorted and Rotated10 companiesJunior
- Minimum Changes To Make Alternating Binary String6 companiesJunior
- Merge Strings Alternately10 companiesJunior
- Maximum Value at a Given Index in a Bounded Array4 companiesMid/Senior
- Single-Threaded CPU7 companiesMid/Senior
- Frequency of the Most Frequent Element11 companiesMid/Senior
- Minimize Maximum Pair Sum in Array6 companiesMid/Senior
- Minimum Number of Flips to Make the Binary String Alternating5 companiesMid/Senior
- Remove All Occurrences of a Substring13 companiesMid/Senior
- Minimum Number of Swaps to Make the String Balanced13 companiesMid/Senior
- Minimum Time to Type Word Using Special Typewriter3 companiesJunior
- Remove Colored Pieces if Both Neighbors are the Same Color4 companiesMid/Senior
- Check if a Parentheses String Can Be Valid7 companiesMid/Senior
- Minimum Swaps to Group All 1's Together II10 companiesMid/Senior
- Minimum Number of Moves to Make Palindrome5 companiesStaff
- Minimum Bit Flips to Convert Number7 companiesJunior
- Largest Number After Digit Swaps by Parity5 companiesJunior
- Find Resultant Array After Removing Anagrams8 companiesJunior
- Removing Stars From a String4 companiesMid/Senior
- Meeting Rooms III12 companiesStaff
- Optimal Partition of String4 companiesMid/Senior
- Divide Intervals Into Minimum Number of Groups7 companiesMid/Senior
- Minimize XOR6 companiesMid/Senior
- The Employee That Worked on the Longest Task2 companiesJunior
- Odd String Difference4 companiesJunior
- Average Value of Even Numbers That Are Divisible by Three1 companyJunior
- Maximum Sum of Distinct Subarrays With Length K10 companiesMid/Senior
- Count Pairs Of Similar Strings4 companiesJunior
- Sort the Students by Their Kth Score3 companiesMid/Senior
- Count Vowel Strings in Ranges9 companiesMid/Senior
- Find the Array Concatenation Value2 companiesJunior
- Count Ways to Group Overlapping Ranges2 companiesMid/Senior
- Rearrange Array to Maximize Prefix Score3 companiesMid/Senior
- Smallest Missing Non-negative Integer After Operations6 companiesMid/Senior
- Minimum Operations to Make All Array Elements Equal3 companiesMid/Senior
- Minimum String Length After Removing Substrings5 companiesJunior
- Lexicographically Smallest String After Substring Operation4 companiesMid/Senior
- Shortest and Lexicographically Smallest Beautiful String3 companiesMid/Senior
- Make Lexicographically Smallest Array by Swapping Elements5 companiesMid/Senior
- Number of Divisible Triplet Sums9 companiesMid/Senior
- Count the Number of Incremovable Subarrays II3 companiesStaff
- Type of Triangle5 companiesJunior
- Minimum Levels to Gain More Points1 companyMid/Senior
- Minimum Operations to Make Median of Array Equal to K1 companyMid/Senior
- Find All Possible Stable Binary Arrays II2 companiesStaff
- Find Products of Elements of Big Array1 companyStaff
- Taking Maximum Energy From the Mystic Dungeon5 companiesMid/Senior
- Find Occurrences of an Element in an Array3 companiesMid/Senior
- Find The First Player to win K Games in a Row1 companyMid/Senior
- Minimum Length of String After Operations3 companiesMid/Senior
- Report Spam Message2 companiesMid/Senior
- Minimum Operations to Make Columns Strictly Increasing1 companyJunior
- Maximum Median Sum of Subsequences of Size 32 companiesMid/Senior