IBM interview questions

Tech / SWE · 10 questions
Report an interview →

Browse 10 IBM interview questions for software engineering and software development interview preparation. Questions in this collection are tagged for full-time roles. Explore the topics and stages below and filter the collection to plan your practice.

Interview stages in this collection
Online assessment (OA), Phone screen, Onsite
Practice topics
Array (7), Hash Table (4), Math (4), String (3), Sorting (2), Dynamic Programming (1), Greedy (1), Heap (1)

Questions come from candidate contributions and online research. Reports reflect past experiences and do not guarantee what IBM will ask. Locked question details require points. Public examples below are free to read.

Read 3 free IBM interview question examples

Browse all IBM questions

10 questions

Free IBM interview question examples

Read the full problem statements and use the links to revisit or share a specific example.

Exclusive Function Time

Medium · Phone screen · Onsite · Full-time

Given function call logs on a single-threaded CPU, compute each function's exclusive execution time. I used a stack to track the currently running function and accumulated time. When a new function starts, I pause the current one. When one ends, I resume the parent. The interviewer asked about handling recursive calls and whether my approach would still work.

Fizz Buzz

Easy · Online assessment (OA) · Full-time

FizzBuzz. Standard problem, return FizzBuzz for multiples of 15, Fizz for 3, Buzz for 5, the number otherwise. Quick warm-up, done in about two minutes. The interviewer used it to verify I could write clean code before moving on.

Integer to Roman

Medium · Online assessment (OA) · Phone screen · Onsite · Full-time

Convert an integer to a Roman numeral string. I built a lookup table of value-symbol pairs in descending order and greedily subtracted the largest possible value at each step. Clean implementation problem, the interviewer seemed satisfied once I handled the subtractive cases correctly.