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

# Associate Software Engineer

IBM
2 rounds | 4 Coding problems

## Interview preparation journey

Journey
When I joined college, I was unaware of this Data Structure and Algorithm, which made my journey to getting an internship way more complicated. From that point, I started doing questions on leetcode and code studio.
Application story
This company visited to my campus for the selection they first took a test then allow us to come for the interview.
Why selected/rejected for the role?
I was rejected because I have a good history of content preparation and i do not have a decent rank in leetcode and code forces. ,
Preparation
Duration: 3 Months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip

Tip 1 : Practice from Leetcode, solve Leetcode medium level problems.
Tip 2 : Brush up computer fundamentals from subjects like OS, DBMS and CN.
Tip 3 : Have a good project or good internship experience and have in-depth knowledge regarding what you have done.

Application process
Where: Campus
Eligibility: No criteria
Resume tip

Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume

## Interview rounds

01
Round
Easy
Video Call
Duration60 Minutes
Interview date5 Jan 2023
Coding problem2

### 1. Search In Rotated Sorted Array

Moderate
30m average time
65% success
0/80

#### Aahad and Harshit always have fun by solving problems. Harshit took a sorted array consisting of distinct integers and rotated ...

View more
Problem approach

"Search in Rotated Sorted Array" is a problem that involves finding the index of a target value in a rotated sorted array. The input array is sorted in ascending order and then rotated by some unknown number of positions to the right or left. The task is to find the index of the target value in the array, or return -1 if the target value is not found.

### 2. Symmetric Tree

Easy
20m average time
82% success
0/40

#### Symme...

View more
Problem approach

Tree symmetry, also known as tree isomorphism or tree symmetry, refers to the property of two trees having the same structure or shape, even if their node values may be different. In other words, two trees are considered symmetric if they can be obtained from each other by swapping their left and right subtrees, or by reflecting them along their root node.

02
Round
Hard
Video Call
Duration60 Minutes
Interview date5 Jan 2023
Coding problem2

### 1. Colorful Knapsack

Hard
45m average time
0/120

#### You are given 'N' stones labeled from 1 to 'N'. The 'i-th' stone has the weight W[i]. There are 'M' colors labeled by integers from 1 to 'M'...

View more
Problem approach

The "Colourful Knapsack Problem" is a variation of the classical "Knapsack Problem", which is a combinatorial optimization problem. In the Colourful Knapsack Problem, the items that can be selected for inclusion in the knapsack have colors associated with them, and the objective is to maximize the total value of the items in the knapsack subject to the constraint of the knapsack's capacity, whi...

View more

### 2. Puzzle

Given a building with k floors and m identical eggs, what is the minimum number of trials required to determine the highest floor from which an egg can be dropped without breaking?

Assumptions:

The eggs are identical and have the same properties.
If an egg breaks when dropped from a certain floor, it will also break when dropped from any higher floor.
If an egg does not brea...

View more
Problem approach

The Egg Dropping Puzzle can be solved using dynamic programming. The key idea is to consider all possible dropping strategies and choose the one that minimizes the number of trials required.

Let's define a 2D array dp[i][j], where dp[i][j] represents the minimum number of trials required to determine the highest floor with i floors and j eggs.

View more

Here's your problem of the day

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

What is the output of print 0.1 + 0.2 == 0.3?

Start a Discussion
Similar interview experiences
Associate Software Engineer
3 rounds | 11 problems
Interviewed by IBM
1839 views
Associate Software Engineer
4 rounds | 4 problems
Interviewed by IBM
1368 views
Staff Engineer
3 rounds | 4 problems
Interviewed by IBM
3365 views
MEAN Stack Developer
4 rounds | 6 problems
Interviewed by IBM
34 views
Companies with similar interview experiences
Associate Software Engineer
3 rounds | 10 problems
Interviewed by Amdocs
1692 views