IBM Coding Interview Questions

We track 174 coding questions asked at IBM, tagged with the algorithms and concepts they test. The most common: Array, String, Sorting, Hash Table, Two Pointers.

Browse all 174 IBM questions →

Concept mix

Each question's weight is split evenly across its concepts, so the shares sum to 100%.

How many questions involve each concept

Share of all 174 tracked IBM questions that touch each concept. Questions usually involve several, so these overlap.

Where IBM differs from the average company

Concept weight at IBM relative to the average across all companies we track. Green means IBM leans on it harder than most.

IBM specialties

Concepts that show up at IBM but are rarely asked elsewhere. They are easy to get blindsided by.

Difficulty mix

Level split of the 174 tracked IBM questions.

  • Junior32% (55)
  • Mid/Senior59% (102)
  • Staff10% (17)

Every concept in IBM interviews

ConceptQuestions% of questionsShare of mix
Array9956.9%21.9%
String5431.0%11.4%
Sorting3620.7%6.0%
Hash Table3419.5%5.7%
Two Pointers3419.5%6.8%
Greedy2816.1%5.0%
Math2614.9%6.2%
Dynamic Programming2011.5%4.1%
Binary Search1810.3%3.7%
Stack169.2%3.2%
Prefix Sum158.6%3.0%
Simulation137.5%2.5%
Sliding Window126.9%2.3%
Bit Manipulation116.3%2.5%
Heap (Priority Queue)116.3%1.7%
Counting84.6%1.0%
Matrix84.6%1.3%
Divide and Conquer74.0%1.1%
Backtracking63.4%1.2%
Linked List63.4%1.3%
Breadth-First Search52.9%0.8%
Depth-First Search52.9%0.7%
Union-Find42.3%0.7%
Design31.7%0.6%
Monotonic Stack31.7%0.4%
Binary Indexed Tree21.1%0.3%
Bucket Sort21.1%0.2%
Game Theory21.1%0.3%
Graph Theory21.1%0.3%
Queue21.1%0.3%
Quickselect21.1%0.2%
Recursion21.1%0.5%
Binary Search Tree10.6%0.1%
Binary Tree10.6%0.1%
Counting Sort10.6%0.2%
Data Stream10.6%0.1%
Database10.6%0.6%
Doubly-Linked List10.6%0.1%
Enumeration10.6%0.1%
Memoization10.6%0.2%
Merge Sort10.6%0.1%
Monotonic Queue10.6%0.1%
Segment Tree10.6%0.1%
String Matching10.6%0.2%
Topological Sort10.6%0.1%
Tree10.6%0.1%
Trie10.6%0.2%

Practice a IBM interview

Take a realistic AI-led mock interview with questions IBM actually asks, with live voice and real feedback.

Start a mock interview

Your first interview is free · no credit card required