Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
IBM interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

IBM
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, Algorithms, System Design, Aptitude, OOPS
Tip
Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.

Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.

Tip 3 : Do at least 2 good projects and you must know every bit of them.


 

Application process
Where: Campus
Eligibility: 7 CGPA and Above, No active backlog, 2022 batch
Resume Tip
Resume tip

Tip 1 : Have at least 2 good projects explained in short with all important points covered.

Tip 2 : Every skill must be mentioned.

Tip 3 : Focus on skills, projects and experiences more.


 

Interview rounds

01
Round
Easy
Online Coding Test
Duration85 minutes
Interview date6 Mar 2022
Coding problem3

This online coding round was conducted on Hackerrank.
It consisted of 10 MCQ questions with 20 minutes time and 3 coding questions with 15 + 20 + 30 minutes time.

1. Maximum Units on a Truck

Easy
15m average time
85% success
0/40
Asked in companies
WalmartAmazonIndiaMart

Ninja is assigned a task to deliver some boxes which contain different units having differen...

View more
Problem approach

It's pretty straight forward.

Step 1 : Just sort the 2d array on the basis of the 1st index

Step 2 : Keep track of our truck size and compute the answer.

 

static bool comp(vector& a, vector& b){
	return a[1] > b[1];
}

int...
View more
Try solving now

2. Best Time to Buy and Sell Stock with Transaction Fee

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

You are given an array 'prices' of size 'n', denoting the price of stocks on 'n' days.


Rahul can buy one stock at a ti...

View more
Problem approach

This is a classic DP problem.
Step1 : Traverse the whole array with the difference of each day.
Step2 : Check the profit by subtracting the price of each day including transaction fee.
Step3 : Trace the maximum profit and store the diff_days on which we are getting the maximum profit.
Step4 : Repeat the above steps until the loop terminates.

Try solving now

3. Word Break

Moderate
15m average time
85% success
0/80
Asked in companies
FacebookAppleAmazon

You are given a list of “N” strings A. Your task is to check whether you can form a given target string using a combination of one or more strings of A.

Note :
View more
Problem approach

Step1 : (Recursive) For the string s, make a cut at each index and check if the substring 0 to cut is present in the dictionary
If it is then make the call to check for the remaining string

 

Step2 : (Memoise ) Use dp to store answer for current string

 

View more
Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date13 Mar 2022
Coding problem3

3 coding problems related to Linked Lists of Easy to Medium level of difficulty were asked in this round

1. Add Two Numbers As Linked Lists

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

You are given two non-negative numbers 'num1' and 'num2' represented in the form of linked lists.


View more
Try solving now

2. Merge Sort Linked List

Moderate
10m average time
90% success
0/80
Asked in companies
AdobeGoogleSamsung R&D Institute

You are given a Singly Linked List of integers. Sort the Linked List using merge sort.

View more
Try solving now

3. Reverse A Doubly Linked List

Easy
15m average time
85% success
0/40
Asked in companies
WalmartIBMGoldman Sachs

You are given a doubly-linked list of size 'N', consisting of positive integers. Now your task is to reverse it and return the head of the modified list.


Note:
View more
Try solving now
03
Round
Easy
HR Round
Duration15 minutes
Interview date14 Mar 2022
Coding problem1

This was a typical HR round with some standard Behavioral questions.

1. Basic HR Question

Why should we hire you?

Problem approach

Tip 1 : The cross-questioning can go intense sometimes, think before you speak.


Tip 2 : Be open-minded and answer whatever you are thinking in these rounds, I feel it is important to have an opinion.

 

Tip 3 : Since everybody in the interview panel is from a tech background, here too you can expect some technical questions. No coding in most of the cases but some disc...

View more

Here's your problem of the day

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

Minimum number of operands are required to use relational operators?

Start a Discussion
Similar interview experiences
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by IBM
3303 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 3 problems
Interviewed by IBM
1975 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by IBM
2040 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by IBM
93 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by Mindtree
9912 views
7 comments
0 upvotes
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
6268 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
7030 views
1 comments
0 upvotes