IBM interview experience Real time questions & tips from candidates to crack your interview

Research Analyst

IBM
upvote
share-icon
6 rounds | 20 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Machine Learning, Deep Learning, Natural Language Processing, DSA, System Design
Tip
Tip

Tip 1 : Prepare resume well
Tip 2 : Get basics clear
Tip 3 : Keep practicing coding questions

Application process
Where: Linkedin
Eligibility: M.tech from tier 1 college
Resume Tip
Resume tip

Tip 1 : Keep it short and to the point, one page is more than enough
Tip 2 : Only keep things that you have actually done, don't fake it in your resume

Interview rounds

01
Round
Easy
Video Call
Duration50 mins
Interview date15 Dec 2021
Coding problem1

1. ML Basics

The main intention of the round was to check my interest and my work. It was more of a screening round.
There were basic questions on my work, master's thesis and interest area.

02
Round
Medium
Video Call
Duration50 Minutes
Interview date12 Jan 2022
Coding problem5

1. ML and DL breadth

What is SVM, draw and explain its loss function.

2. ML and DL breadth

What is linear regression and how is it different from logistic regression?
theirs loss functions

3. ML and DL breadth

What is entropy and gini index?

4. ML and DL breadth

What are precision, recall, and f1 definitions? there was a numerical question related to them

5. ML and DL breadth

What is RNN and why do we use them? Difference between vanilla RNN and GRUs

03
Round
Medium
Video Call
Duration60 mins
Interview date12 Jan 2022
Coding problem4

1. Find Number Of Islands

Moderate
34m average time
60% success
0/80
Asked in companies
WalmartShareChatAmazon

You are given a 2-dimensional array/list having N rows and M columns, which is filled with ones(1) and zeroes(0). 1 signifies land, and 0 signifies water.

A cell is said to be connected to another cell, if one cell lies immediately next to the other cell, in any of the eight directions (two vertical, two horizontal, and four diagonals).

A group of connected cells having value 1 is called an island. Your task is to find the number of such islands present in the matrix.

Problem approach

It is a well-known problem

Try solving now

2. Largest Island

Moderate
30m average time
90% success
0/80
Asked in companies
IBMAmazonChegg Inc.

You are given two integers 'n' and 'm', the dimensions of a grid. The coordinates are from (0, 0) to (n - 1, m - 1).


The grid can only have values 0 and 1.


The value is 0 if there is water and 1 if there is land.


An island is a group of ‘1’s such that every ‘1’ has at least another ‘1’ sharing a common edge.


You are given an array 'queries' of size 'q'.


Each element in 'queries' contains two integers 'x' and 'y', referring to the coordinates in the grid.


Initially, the grid is filled with 0, which means only water and no land.


At each query, the value of 'grid' at (x, y) becomes 1, which means it becomes land.


Find out, after each query, the number of islands in the grid.


Example :
Input: 'n' = 3, 'm' = 4
'queries' = [[1, 1], [1, 2], [2, 3]]

Output: [1, 1, 2]

Explanation:

Initially, the grid was:
0 0 0 0
0 0 0 0
0 0 0 0

After query (1, 1):
0 0 0 0
0 1 0 0
0 0 0 0
There is one island having land (1, 1).

After query (1, 2):
0 0 0 0
0 1 1 0
0 0 0 0
Since (1, 1) and (1, 2) share a common edge, they form one island. So there is one island having lands (1, 1) and (1, 2).

After query (2, 3):
0 0 0 0
0 1 1 0
0 0 0 1
Now there are two islands, one having lands (1, 1) and (1, 2), and another having land (2, 3).

So the number of islands after each query is [1, 1, 2].
Problem approach

It was extension to prev problem
Used BFS to solved the problem. It is a well-know problem too

Try solving now

3. Ways To Make Coin Change

Moderate
20m average time
80% success
0/80
Asked in companies
MicrosoftHSBCOracle

You are given an infinite supply of coins of each of denominations D = {D0, D1, D2, D3, ...... Dn-1}. You need to figure out the total number of ways W, in which you can make a change for value V using coins of denominations from D. Print 0, if a change isn't possible.

Problem approach

It is a well-known problem

Try solving now

4. Coin Change(Finite Supply)

Hard
0/120
Asked in companies
IBMAdobeAmazon

You are given an array of integers ‘coins’ denoting the denomination of coins and another array of integers ‘freq’ denoting the number of coins of each denomination.

You have to find the number of ways to make the sum ‘V’ by selecting some(or all) coins from the array.

The answer can be very large. So, return the answer modulo 1000000007.

For Example :
‘N’ = 3, ‘coins’ = {1, 2, 3}, ‘freq’ = {1, 1, 3}, ‘V’ = 6

For the given example, we can make six by using the following coins:
{1, 2, 3}
{3. 3}
Hence, the answer is 2.
Problem approach

It was an extension of the prev problem

Try solving now
04
Round
Easy
Video Call
Duration45 Minutes
Interview date12 Jan 2022
Coding problem1

It was more of Managerial + HR round

1. Basic HR Question

This round revolved around basic behavioral and situation-based questions.

Problem approach

Tip 1: There are no right or wrong answers
Tip 2: Think and then speak
Tip 3: Always show a positive attitude

05
Round
Hard
Video Call
Duration50 minutes
Interview date13 Jan 2022
Coding problem8

1. ML and DL depth

What is transformers? and the loss function used in traning

2. ML and DL depth

What is positional embedding in BERT and its mathematical formula discussion

3. ML and DL depth

Explain multi-headed attention and its math

4. ML and DL depth

Why BERT give better results than RNN?

5. ML and DL depth

Explain the encoder and decoder architecture of BERT

6. ML and DL depth

When do we need high precision and when do we need high recall

7. ML and DL depth

Explain the AUC ROC curve

8. ML and DL depth

Explain CNN and it can be used with text.

06
Round
Medium
Video Call
Duration50 minutes
Interview date13 Jan 2022
Coding problem1

1. System Design Question

Desing a question answering system for unstructured documents.

Problem approach

Tip 1: Ask clarifying questions
Tip 2: Always keep on discussing your approach

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by IBM
2296 views
0 comments
0 upvotes
company logo
Cognitive AI Manager
3 rounds | 6 problems
Interviewed by IBM
1295 views
0 comments
0 upvotes
company logo
Staff Engineer
3 rounds | 4 problems
Interviewed by IBM
4677 views
0 comments
0 upvotes
company logo
MEAN Stack Developer
4 rounds | 6 problems
Interviewed by IBM
739 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Research Analyst
5 rounds | 6 problems
Interviewed by Amazon
1118 views
0 comments
0 upvotes