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

IBM

2 rounds | 4 Coding
problems

Preparation

Duration: 3 Months

Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming

Tip

Tip 1 : You must have a grip over Data Structures and algorithms. Your concepts must be crystal clear. Pick one coding platform and try to practice at least 7-10 coding questions everyday. I completed around 200+ questions on Leetcode, 200+ questions on Geek For Geeks and around 30-40 questions on InterviewBit.

Tip 2 : After attempting any coding problem, analyze its time and space complexity. See, if you can further optimize your solution. You can always check the editorials and compare your solution with it.

Tip 3 : Apart from coding questions keep studying concepts of Operating Systems, databases and object oriented programming. You can always refer to Geeks For Geeks articles for it. Also, Coding Ninja's Data Structures and algorithms course in C++ helped me a lot in improving my OOPS concepts specifically.

Application process

Where: Campus

Eligibility: Above 7 CGPA

Resume tip

Tip 1 : You do not need to have a long list of projects on your resume. One good project with proper knowledge of it will do good. Similarly, do not list down several number of skills. Few skills but roper knowledge of them are enough.

Tip 2 : Do not fake anything on your resume. The interviewer gets to know about it by asking questions. If you aren't able to answer, it leaves a negative impact.

01

Round

Easy

Video Call

Duration45 Minutes

Interview date9 Jul 2022

Coding problem2

View more

Problem approach

You have been given an array 'ARR' of 'N' distinct elements.

Your task is to find the minimum no. of swaps required to sort the array.

View more

Problem approach

You are given an array of pairs of strings 'EQUATIONS', and an array of real numbers 'VALUES'. Each element of the 'EQUATIONS' array denotes a fraction where the first string denotes the numerator variable and the second string denotes the denominator variable, and the corresponding element in 'VALUES' denotes the value this fraction is equal to.

You are given ‘Q’ queries, and each query con...

View more

02

Round

Easy

Video Call

Duration45 minutes

Interview date9 Jul 2022

Coding problem2

View more

Problem approach

You have been given a directed weighted graph of ‘N’ vertices labeled from 1 to 'N' and ‘M’ edges. Each edge connecting two nodes 'u' and 'v' has a weight 'w' denoting the distance between them.

Your task is to detect whether the graph contains a negative cycle or not. A negative cycle is a cycle whose edges are such that the sum of their weights is a negative value.

Difference between Constructor and Method?

Problem approach

Constructors :

1) A Constructor is a block of code that initializes a newly created object.

2) A Constructor can be used to initialize an object.

3) A Constructor is invoked implicitly by the system

4) A Constructor is invoked when a object is created using the keyword new.

5) A Constructor doesn’t have a return type.

6) A Constructor’s name must be same as the name of the cla...

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

SDE - 1

2 rounds | 2 problems

Interviewed by IBM

2034 views

0 comments

0 upvotes

SDE - 1

2 rounds | 3 problems

Interviewed by IBM

825 views

0 comments

0 upvotes

SDE - 1

3 rounds | 5 problems

Interviewed by IBM

723 views

0 comments

0 upvotes

SDE - 1

2 rounds | 4 problems

Interviewed by IBM

93 views

0 comments

0 upvotes

Companies with similar interview experiences

SDE - 1

5 rounds | 12 problems

Interviewed by Amazon

101098 views

24 comments

0 upvotes

SDE - 1

4 rounds | 5 problems

Interviewed by Microsoft

47355 views

5 comments

0 upvotes

SDE - 1

3 rounds | 7 problems

Interviewed by Amazon

29726 views

6 comments

0 upvotes