IBM Interview Prep

“Interviewing at IBM” means at least three different things, and preparing for the wrong one is the main way candidates waste their time. High-volume campus hiring in India runs an aptitude assessment and a coding assessment as genuine elimination gates, followed by a recorded or live interview and an HR conversation. Product engineering — the software organisations building cloud, data, AI, and mainframe software — runs a conventional software loop with DSA and a design round. Research hires on research depth and a body of published work.

The campus pipeline is where the distinctive detail lives. The aptitude test is a real filter, not a formality: quantitative, logical, and verbal sections under time pressure, with the coding assessment typically a short HackerRank round of two problems. The interviews that follow go line by line through your CV, and they weight DBMS, SQL, and object-oriented fundamentals about as heavily as data structures.


Interview Process

Stage Duration Focus
Cognitive / Aptitude Assessment 45-90 min Numerical, logical and verbal sections
Coding Assessment 50-60 min 2 coding problems, usually on HackerRank
Recorded / Video Interview 20-30 min Timed answers to set questions, campus pipelines
Technical Interview 1 45-60 min DSA, OOP, DBMS, SQL, project questions
Technical Interview 2 / Managerial 45-60 min Depth, plus design for experienced roles
HR Round 20-30 min Role, location, logistics

Which stages you see depends on the pipeline. Campus and early-career hiring leads with the assessments and often a recorded interview, and both assessments eliminate. Experienced hires into product engineering usually skip the aptitude stage entirely and get a design round instead. Research loops replace the whole middle of this table with a technical talk and deep discussion of your published work. Ask the recruiter which organisation and pipeline you are in before you prepare.


What IBM Actually Tests

Derived from 173 reported IBM-tagged problems. Difficulty mix:

Difficulty Count Share
Easy 53 31%
Medium 104 60%
Hard 16 9%

The list skews Easy and Medium. Speed and clean code matter more here than exotic algorithms.

Where those problems fall by pattern:

Rank Pattern Problems Share of list
1 Arrays & Hashing 30 17%
2 Sliding Window & Two Pointers 27 16%
3 Dynamic Programming 20 12%
4 Binary Search 17 10%
5 Intervals, Greedy & Sorting 16 9%
6 Strings 15 9%
7 Stack & Monotonic Stack 10 6%
8 Heap / Priority Queue 10 6%
9 Trees 6 3%
10 Backtracking 6 3%

IBM Signature Problems

These rank high on IBM’s list but are reported by few other companies — the questions that are distinctively theirs rather than generic interview classics. The last column is how many of the 142 companies on this site report each one.

# Problem Pattern Difficulty Also asked at Link
1 Count Ways to Group Overlapping Ranges Sorting + Array Medium 2 of 142 LeetCode →
2 Minimum Operations to Make All Array Elements Equal Prefix Sum + Binary Search Medium 4 of 142 LeetCode →
3 Minimum Moves to Equal Array Elements Math + Array Medium 7 of 142 Solve →
4 Find Occurrences of an Element in an Array Hash Table + Array Medium 2 of 142 LeetCode →
5 Count Vowel Strings in Ranges Prefix Sum Medium 8 of 142 LeetCode →
6 Sort the Students by Their Kth Score Matrix + Sorting Medium 2 of 142 LeetCode →
7 Average Value of Even Numbers That Are Divisible by Three Math + Array Easy 2 of 142 LeetCode →
8 Find the Array Concatenation Value Two Pointers Easy 2 of 142 LeetCode →
9 Number of Divisible Triplet Sums Hash Table + Array Medium 7 of 142 Solve →
10 Taking Maximum Energy From the Mystic Dungeon Prefix Sum + DP Medium 5 of 142 LeetCode →
11 Type of Triangle Polygons Easy 5 of 142 LeetCode →
12 Lexicographically Smallest String After Substring Operation Greedy Medium 4 of 142 LeetCode →
13 Minimum Number of Flips to Make the Binary String Alternating Sliding Window + DP Medium 5 of 142 LeetCode →
14 Maximum Median Sum of Subsequences of Size 3 Game Theory + Greedy Medium 2 of 142 LeetCode →

If you are short on time, these carry more IBM-specific signal per hour than the universal top-100 lists.


Reported in the Last Six Months

The recency-filtered slice of IBM’s list, ranked by how often each was reported. Expect heavy overlap with the all-time classics — that overlap is the point, it means these stay in rotation.

# Problem Pattern Difficulty Link
1 Fizz Buzz Simulation + Math Easy Solve →
2 Subarray Sum Equals K Prefix Sum Medium Solve →
3 Valid Parentheses Bracket Sequences + Stack Easy Solve →
4 Integer to Roman Math + Hash Table Medium Solve →
5 Merge Intervals Quicksort Medium Solve →
6 Two Sum Hash Table + Array Easy Solve →
7 Best Time to Buy and Sell Stock DP Easy Solve →
8 Kth Largest Element in an Array Quickselect + Divide and Conquer Medium Solve →
9 Container With Most Water Greedy + Two Pointers Medium Solve →
10 Count Binary Substrings Two Pointers Easy Solve →
11 Edit Distance DP Medium Solve →
12 Generate Parentheses Bracket Sequences + Backtracking Medium Solve →
13 Length of the Longest Alphabetical Continuous Substring String Medium LeetCode →
14 Longest Common Prefix Trie Easy Solve →
15 Longest Substring Without Repeating Characters Sliding Window Medium Solve →

System Design (HLD) Problems Asked at IBM

# Problem Difficulty Link
1 Distributed Key-Value Store Advanced Read →
2 Message Queue Advanced Read →
3 Rate Limiter (API Gateway Quotas) Beginner Read →
4 Notification System Intermediate Read →
5 URL Shortener Beginner Read →
6 Distributed Cache Intermediate Read →
7 Distributed Job Scheduler Advanced Read →
8 LLM Serving Platform (watsonx-style) Advanced Read →
9 Metrics and Monitoring System Intermediate Read →

LLD / Machine Coding Problems Asked at IBM

Campus technical rounds stay at textbook object-oriented level: classes, inheritance, interfaces, and a small simulation you can code in half an hour. Experienced product-engineering loops push further into extensibility and service boundaries.

# Problem Difficulty Link
1 Library Management Beginner Read →
2 Parking Lot Beginner Read →
3 Vending Machine Beginner Read →
4 Snake and Ladder Beginner Read →
5 Tic Tac Toe Beginner Read →
6 Order Management System Intermediate Read →

DSA Problems Asked at IBM

79 problems across 11 pattern groups. Each group is allocated in proportion to its real share of IBM’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.

Arrays & Hashing

Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. Showing the top 14 of 20 on the list.

# Problem Pattern Difficulty Link
1 Two Sum Hash Table + Array Easy Solve →
2 Count Ways to Group Overlapping Ranges Sorting + Array Medium LeetCode →
3 Rotate Image Matrix + Math Medium Solve →
4 Minimum Moves to Equal Array Elements Math + Array Medium Solve →
5 Subarray Sum Equals K Prefix Sum Medium Solve →
6 Find Occurrences of an Element in an Array Hash Table + Array Medium LeetCode →
7 Find The First Player to win K Games in a Row Simulation + Array Medium LeetCode →
8 Sort the Students by Their Kth Score Matrix + Sorting Medium LeetCode →
9 Activity Participants Database Medium LeetCode →
10 Average Value of Even Numbers That Are Divisible by Three Math + Array Easy LeetCode →
11 Minimum Absolute Difference Sorting + Array Easy Solve →
12 Minimum Levels to Gain More Points Prefix Sum Medium LeetCode →
13 Number of Divisible Triplet Sums Hash Table + Array Medium Solve →
14 Type of Triangle Polygons Easy LeetCode →

Sliding Window & Two Pointers

Linear-time scans over arrays and strings. High volume, low variance — these should be automatic. Showing the top 14 of 15 on the list.

# Problem Pattern Difficulty Link
15 Longest Substring Without Repeating Characters Sliding Window Medium Solve →
16 Find the Array Concatenation Value Two Pointers Easy LeetCode →
17 Maximum Sum of Distinct Subarrays With Length K Sliding Window Medium LeetCode →
18 3Sum Two Pointers Medium Solve →
19 Container With Most Water Greedy + Two Pointers Medium Solve →
20 Minimum Window Substring Sliding Window Hard Solve →
21 Boats to Save People Timsort + Greedy Medium Solve →
22 Count Binary Substrings Two Pointers Easy Solve →
23 Merge Strings Alternately Two Pointers Easy Solve →
24 Middle of the Linked List Linked List + Two Pointers Easy Solve →
25 Move Zeroes Two Pointers Easy Solve →
26 String Compression Two Pointers Medium Solve →
27 Valid Palindrome II Greedy + Two Pointers Easy Solve →
28 Backspace String Compare Stack + Two Pointers Easy Solve →

Dynamic Programming

State definition is the whole battle. Say the recurrence out loud before you write the table. All 12 on the list.

# Problem Pattern Difficulty Link
29 Best Time to Buy and Sell Stock DP Easy Solve →
30 Longest Mountain in Array Two Pointers + DP Medium LeetCode →
31 Taking Maximum Energy From the Mystic Dungeon Prefix Sum + DP Medium LeetCode →
32 Minimum Number of Flips to Make the Binary String Alternating Sliding Window + DP Medium LeetCode →
33 Maximum Subarray Divide and Conquer + DP Medium Solve →
34 Minimum Number of Increments on Subarrays to Form a Target Array Monotonic Stack + Greedy Hard LeetCode →
35 Climbing Stairs Memoization + DP Easy Solve →
36 Longest Valid Parentheses Bracket Sequences + Stack Hard Solve →
37 Non-overlapping Intervals Greedy + DP Medium Solve →
38 Coin Change Complete Knapsack + Knapsack Problem Medium Solve →
39 Edit Distance DP Medium Solve →
40 Find All Possible Stable Binary Arrays II Prefix Sum + DP Hard LeetCode →

Strings

Parsing, transformation, and in-place edits. Clarify the character set and whitespace rules before you start. All 9 on the list.

# Problem Pattern Difficulty Link
41 Fizz Buzz Simulation + Math Easy Solve →
42 Integer to Roman Math + Hash Table Medium Solve →
43 Roman to Integer Math + Hash Table Easy Solve →
44 Count Vowel Strings in Ranges Prefix Sum Medium LeetCode →
45 Valid Anagram Sorting + Hash Table Easy Solve →
46 Group Anagrams Sorting + Hash Table Medium Solve →
47 Minimum Length of String After Operations Counting + Hash Table Medium LeetCode →
48 Number of Divisible Substrings Prefix Sum Medium LeetCode →
49 Report Spam Message Hash Table + String Medium LeetCode →

Intervals, Greedy & Sorting

Sort, then make a local decision you can defend. Expect to justify why greedy is safe here. All 7 on the list.

# Problem Pattern Difficulty Link
50 Merge Intervals Quicksort Medium Solve →
51 Minimum Operations to Make Columns Strictly Increasing Greedy Easy LeetCode →
52 Minimum Operations to Make Median of Array Equal to K Greedy Medium LeetCode →
53 Lexicographically Smallest String After Substring Operation Greedy Medium LeetCode →
54 Maximum Units on a Truck Greedy Easy LeetCode →
55 Height Checker Bubble Sort + Counting Sort Easy LeetCode →
56 Maximum Median Sum of Subsequences of Size 3 Game Theory + Greedy Medium LeetCode →

Heap / Priority Queue

Top-k, streaming medians, and scheduling. Usually the difference between a passing and a timing-out solution. All 5 on the list.

# Problem Pattern Difficulty Link
57 Largest Number After Digit Swaps by Parity Heap Easy LeetCode →
58 Meeting Rooms II Prefix Sum + Heap Medium Solve →
59 Kth Largest Element in an Array Quickselect + Divide and Conquer Medium Solve →
60 Minimum Cost to Connect Sticks Heap + Greedy Medium LeetCode →
61 Divide Intervals Into Minimum Number of Groups Prefix Sum + Heap Medium LeetCode →

Half of these are binary search on the answer, not on an array. Learn to spot the monotonic predicate. All 5 on the list.

# Problem Pattern Difficulty Link
62 Minimum Operations to Make All Array Elements Equal Prefix Sum + Binary Search Medium LeetCode →
63 Find Products of Elements of Big Array Bit Manipulation + Binary Search Hard LeetCode →
64 Reach a Number Binary Search Medium LeetCode →
65 Max Consecutive Ones III Sliding Window + Prefix Sum Medium Solve →
66 Find the Smallest Divisor Given a Threshold Binary Search Medium Solve →

Stack & Monotonic Stack

Nearest-greater, parsing, and span problems. The monotonic variant is the one people miss. All 5 on the list.

# Problem Pattern Difficulty Link
67 Valid Parentheses Bracket Sequences + Stack Easy Solve →
68 Minimum String Length After Removing Substrings Stack Easy LeetCode →
69 Exclusive Time of Functions Stack Medium LeetCode →
70 Asteroid Collision Stack Medium Solve →
71 First Unique Character in a String Queue Easy Solve →

Trees

Recursion discipline: what you return up, what you pass down. Follow-ups usually push from recursive to iterative. All 4 on the list.

# Problem Pattern Difficulty Link
72 Maximum Profitable Triplets With Increasing Prices I Fenwick Tree + Segment Tree Medium LeetCode →
73 Maximum Profitable Triplets With Increasing Prices II Fenwick Tree + Segment Tree Hard LeetCode →
74 Sliding Window Maximum Range Query + Monotonic Queue Hard Solve →
75 Validate Binary Search Tree BST + Binary Tree Medium Solve →

Graphs

Traversal, connectivity, ordering, and shortest paths. The hardest bucket to fake — either you have drilled it or you have not. All 2 on the list.

# Problem Pattern Difficulty Link
76 Number of Operations to Make Network Connected Union-Find + Graph Medium LeetCode →
77 Longest Consecutive Sequence Union-Find Medium Solve →

Prefix structures and substring matching. Common wherever autocomplete or search is part of the product. All 2 on the list.

# Problem Pattern Difficulty Link
78 Longest Palindromic Substring Manacher + Two Pointers Medium Solve →
79 Longest Common Prefix Trie Easy Solve →

IBM’s Favourite Patterns (Ranked)

Rank Pattern Frequency Problems on list Start with
1 Arrays & Hashing Very High 20 (22%) Two Sum, Count Ways to Group Overlapping Ranges, Rotate Image
2 Sliding Window & Two Pointers High 15 (17%) Longest Substring Without Repeating Characters, Find the Array Concatenation Value, Maximum Sum of Distinct Subarrays With Length K
3 Dynamic Programming High 12 (13%) Best Time to Buy and Sell Stock, Longest Mountain in Array, Taking Maximum Energy From the Mystic Dungeon
4 Strings Medium-High 9 (10%) Fizz Buzz, Integer to Roman, Roman to Integer
5 Intervals, Greedy & Sorting Medium-High 7 (8%) Merge Intervals, Minimum Operations to Make Columns Strictly Increasing, Minimum Operations to Make Median of Array Equal to K
6 Heap / Priority Queue Medium-High 5 (6%) Largest Number After Digit Swaps by Parity, Meeting Rooms II, Kth Largest Element in an Array
7 Binary Search Medium 5 (6%) Minimum Operations to Make All Array Elements Equal, Find Products of Elements of Big Array, Reach a Number
8 Stack & Monotonic Stack Medium 5 (6%) Valid Parentheses, Minimum String Length After Removing Substrings, Exclusive Time of Functions
9 Trees Medium 4 (4%) Maximum Profitable Triplets With Increasing Prices I, Maximum Profitable Triplets With Increasing Prices II, Sliding Window Maximum
10 Graphs Medium 2 (2%) Number of Operations to Make Network Connected, Longest Consecutive Sequence

How to read this: the top three rows are where your preparation hours should go. A candidate fluent in Arrays & Hashing, Sliding Window & Two Pointers, Dynamic Programming covers the bulk of what IBM actually asks. The rest is insurance for the one round that goes somewhere unexpected.


The Campus Assessment Format

For high-volume hiring the assessments carry most of the filtering, so this is where the first block of preparation should go. Sections and timings vary by campus and year; the shape below is the commonly reported one.

Section What it contains How to prepare
Quantitative Arithmetic, percentages, ratios, time and work, probability basics Timed sets daily; speed matters more than depth, so learn the shortcuts
Logical reasoning Series, arrangements, syllogisms, pattern recognition, data sufficiency Practice by type until you recognise the form in a few seconds
Verbal Reading comprehension, sentence correction, vocabulary in context One comprehension passage a day under a clock
Coding Two problems, commonly easy to medium, in C, C++, Java or Python Arrays, strings, searching, sorting, hashing, and basic complexity analysis
English or communication Written or spoken fluency, sometimes a separate module Write a short structured answer and read it back for clarity
Recorded video interview Fixed prompts, a short preparation window, a fixed recording time, no retries Rehearse two-minute answers on projects, strengths, and why IBM

Two practical notes. There is generally no negative marking reported in the coding section, so an attempt is better than a blank. And the assessments are frequently administered in a supervised setting on campus, so plan to perform without your usual environment.


Three Different IBMs

IBM is large enough that the name tells you little about the loop. Identify the organisation first, then prepare for it.

Organisation What the work is What the loop looks like What to prepare
Campus and early career Entry roles across software, support, and delivery Aptitude and coding assessments, recorded interview, one or two technical rounds, HR Aptitude under time, basic DSA, DBMS and SQL, OOP, your own projects
IBM Consulting Client delivery, integration, platform implementation Recruiter screen, technical or domain interview, client-facing and behavioural rounds Fundamentals plus communication, stakeholder stories, specific platform or stack experience
Product engineering Cloud, data and AI platforms, automation, mainframe software, Red Hat-adjacent work Conventional software loop: coding rounds, system design, hiring manager DSA at medium, enterprise design, containers and Kubernetes, multi-tenancy, migration strategy
IBM Research Publishing research, prototypes that become product Technical talk, deep discussion of your work, panel of researchers Your publications, the surrounding literature, and the ability to defend your method

The tagged question list on this page is drawn from reported IBM interviews across all of these, which is why it is both large and broad. If you are in a product-engineering loop, weight the medium problems and the design section; if you are in a campus loop, weight the assessment preparation and the fundamentals.


Behavioural Round

# Question
1 Walk me through the project on your CV you contributed most to.
2 Tell me about a time you learned a new technology quickly for a deadline.
3 Tell me about a time you worked with a team that was spread across locations.
4 Tell me about a disagreement in a team project and how it was settled.
5 Tell me about a time you had to explain something technical to a non-technical person.
6 Tell me about a task you took on that was outside your assigned role.
7 Where do you want to be technically in a few years?
8 Why IBM, and which part of the business interests you?

IBM’s client-facing culture means communication is scored, not just tolerated. Practice explaining one of your projects in two minutes to someone with no background in it, because both the recorded interview and the HR round reward structure and clarity over technical density.


14-Day Prep Plan

Built from the pattern ranking above, so the heaviest topics get the most time.

Day Focus Problems
1 Arrays & Hashing (part 1) Two Sum, Count Ways to Group Overlapping Ranges, Rotate Image
2 Arrays & Hashing (part 2) Minimum Moves to Equal Array Elements, Subarray Sum Equals K, Find Occurrences of an Element in an Array
3 Sliding Window & Two Pointers (part 1) Longest Substring Without Repeating Characters, Find the Array Concatenation Value, Maximum Sum of Distinct Subarrays With Length K
4 Sliding Window & Two Pointers (part 2) 3Sum, Container With Most Water, Minimum Window Substring
5 Dynamic Programming (part 1) Best Time to Buy and Sell Stock, Longest Mountain in Array, Taking Maximum Energy From the Mystic Dungeon
6 Dynamic Programming (part 2) Minimum Number of Flips to Make the Binary String Alternating, Maximum Subarray, Minimum Number of Increments on Subarrays to Form a Target Array
7 Strings Fizz Buzz, Integer to Roman, Roman to Integer
8 Intervals, Greedy & Sorting Merge Intervals, Minimum Operations to Make Columns Strictly Increasing, Minimum Operations to Make Median of Array Equal to K
9 Heap / Priority Queue Largest Number After Digit Swaps by Parity, Meeting Rooms II, Kth Largest Element in an Array
10 Binary Search Minimum Operations to Make All Array Elements Equal, Find Products of Elements of Big Array, Reach a Number
11 Stack & Monotonic Stack Valid Parentheses, Minimum String Length After Removing Substrings, Exclusive Time of Functions
12 Mock round Two problems in 45 minutes, timed, no hints. Simulate the real round.
13 Revision Redo the problems you failed or needed a hint on.
14 Light review + rest Re-read your pattern notes. Sleep early.

Tips for IBM Interviews

  1. Clear the assessment first, because it eliminates more candidates than the interviews do. Practice quantitative, logical, and verbal sections against a clock. Untimed practice gives a false sense of readiness on tests designed around pace.
  2. Know your CV line by line. Interviewers work through the document and ask about anything on it. If a technology is listed, expect a question, so remove anything you cannot defend.
  3. Prepare DBMS and SQL properly. Normalisation, joins, indexes, transactions, and ACID properties come up about as often as data structures in campus rounds, and they are quick wins compared with algorithm practice.
  4. Keep object-oriented definitions crisp and exemplified. Abstraction, encapsulation, inheritance, polymorphism, interface versus abstract class, each with a one-line example from your own code rather than a textbook.
  5. Find out which IBM you are interviewing with. Consulting and campus pipelines reward fundamentals and communication, product engineering rewards DSA and design, research rewards publications and depth. The same preparation does not serve all three.
  6. For product engineering, prepare enterprise design. Hybrid cloud, containers and Kubernetes or OpenShift, multi-tenancy, and migrating a legacy system without downtime are the recurring themes, rather than consumer-scale fan-out.
  7. Rehearse the recorded interview format. A prompt, a short thinking window, a fixed answer time, and no second attempt. Practice two-minute spoken answers to the standard questions until the timer stops being a problem.

Other Company Prep


Round structures, assessment sections, and timings reflect commonly reported candidate experience rather than published IBM documentation, and campus formats in particular change year to year and between campuses. IBM hires through many independent organisations, so confirm the pipeline, the stage list, and the technical focus with your recruiter or placement cell.