IBM interview questions

475 questions from 77 candidate reports · 2015 to 2025

Online test → Online test → Group discussion → Technical·84% entry level

CS fundamentals

Showing 34 of 256 reported in this area

Explain virtualization and its real-life applications
asked 2×easyPractice this →
Explain the four pillars of Object-Oriented Programming.
asked 2×easyPractice this →
Discuss popular cloud platforms and frameworks such as AWS and Azure
asked 2×easyPractice this →
What is a v-table in C++?
asked oncemediumPractice this →
How does React work internally?
asked oncemediumPractice this →
Explain STL concepts used in C++.
asked oncemediumPractice this →
Explain paging and virtual memory.
asked oncemediumPractice this →
How does recursion work internally?
asked oncemediumPractice this →
How is memory allocated at runtime?
asked oncemediumPractice this →
What is the 'virtual' keyword in C++?
asked oncemediumPractice this →
Explain virtual memory and its benefits
asked oncemediumPractice this →
Predict the output of a given C program
asked oncemediumPractice this →
Conceptual questions on DBMS fundamentals
asked oncemediumPractice this →
What is shallow copy and deep copy in C++?
asked oncemediumPractice this →
What are memory leak and memory corruption?
asked oncemediumPractice this →
What are the differences between AWS and GCP?
asked oncemediumPractice this →
What is RAG (Retrieval-Augmented Generation)?
asked oncemediumPractice this →
What are the new features introduced in Java 8?
asked oncemediumPractice this →
Explain how a web page is rendered in a browser.
asked oncemediumPractice this →
Explain public key and private key usage in AWS.
asked oncemediumPractice this →
Explain the basics of SSH and socket programming.
asked oncemediumPractice this →
What are the differences between C++14 and C++20?
asked oncemediumPractice this →
What is a critical section and how is it handled?
asked oncemediumPractice this →
What is SQL injection and how can it be prevented?
asked oncemediumPractice this →
Explain threads and their advantages over processes
asked oncemediumPractice this →
What are interrupts and how does an interrupt work?
asked oncemediumPractice this →
What are iterators in C++ and what is range in C++?
asked oncemediumPractice this →
Answer questions related to software design patterns
asked oncemediumPractice this →
Compare paging and segmentation in memory management.
asked oncemediumPractice this →
What is a Turing machine and what is finite automata?
asked oncemediumPractice this →
Answer conceptual questions related to C++ programming
asked oncemediumPractice this →
Conceptual questions on Operating Systems fundamentals
asked oncemediumPractice this →
Convert Linux commands into their octal representation.
asked oncemediumPractice this →
Which data structure is used to implement cache memory?
asked oncemediumPractice this →

DSA

Showing 14 of 173 reported in this area

Given a string, find the longest palindromic substring
asked 2×mediumPractice this →
Find the number of unique paths in a grid with obstacles.
asked 2×mediumPractice this →
Given a string s and an array of words, check whether s can be formed by concatenating words from the array
asked 2×mediumPractice this →
Write the binary search algorithm.
asked 2×easyPractice this →
The Stock Span Problem
asked oncemediumPractice this →
Explain how a Max Heap works.
asked oncemediumPractice this →
Solve House Robber.
asked oncemediumPractice this →
Maximum Sum Increasing Subsequence
asked oncemediumPractice this →
Detect a cycle (loop) in a linked list.
asked oncemediumPractice this →
Convert a prefix expression to postfix expression
asked oncemediumPractice this →
Flatten a linked list with next and child pointers
asked oncemediumPractice this →
Find the number of distinct paths between N points.
asked oncemediumPractice this →
Find the largest palindromic substring in a given string
asked oncemediumPractice this →
Solve the Coin Change problem using dynamic programming.
asked oncemediumPractice this →

Aptitude

Showing 3 of 83 reported in this area

Identify grammatical errors in given sentences.
asked 3×easyPractice this →
Choose the correct spelling from the given options.
asked 3×easyPractice this →
Identify correct synonyms and antonyms for given words.
asked 2×easyPractice this →

Behavioural

Showing 3 of 49 reported in this area

How do you resolve workplace conflicts?
asked oncemediumPractice this →
If your team resists your idea, what will you do?
asked oncemediumPractice this →
Describe how you handle a challenging or unexpected situation.
asked oncemediumPractice this →

Puzzles

Showing 3 of 19 reported in this area

Given a rope that burns out in 1 hour, how will you measure 45 minutes using it?
asked oncemediumPractice this →
Memory-based puzzle requiring recalling objects or patterns seen a short time ago
asked oncemediumPractice this →
Reconstruct a given grid pattern using provided pieces, allowing rotation if necessary.
asked oncemediumPractice this →

System design

Showing 3 of 4 reported in this area

What factors should be considered while designing a website for a grocery store?
asked oncemediumPractice this →
Explain microservices communication patterns, including API Gateway and RestTemplate.
asked oncemediumPractice this →
How would you design a system to shorten a long URL and map it back to the original URL?
asked oncemediumPractice this →

Showing 60 of 475 questions. Ranked by how often the same question came back across reports.

Practise a IBM-style interview

A spoken interview built from these questions, scored when you finish; the report is yours.

Start practising

Common questions

What questions does IBM ask?

Candidate interview reports most often cover CS fundamentals (44%) and DSA (30%).

How many rounds does IBM interview have?

Candidate interview reports show an average of 3.9 rounds per experience, with a typical sequence of Online test → Online test → Group discussion → Technical. Individual interview paths can vary.

Is the IBM interview hard?

Among questions with a reported difficulty, the mix is easy 58%, medium 40%, hard 2%.

Keep reading