i
IBM
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
What people are saying about IBM
IBM interview questions for popular designations
Get interview-ready with Top IBM Interview Questions
Modify Dijkstra algorithm to find 3 shortest paths
Implement a modified version of Dijkstra's algorithm that keeps track of the 3 shortest paths
Use a priority queue to store the nodes and their distances from the source node
When a node is visited, update the distances of its neighbors and add them to the priority queue
Keep track of the 3 shortest paths using an array or a list
Terminate the algorithm when the 3 shortest ...
Check if a number is a power of 2 in one line of code.
Use bitwise AND operator to check if the number is greater than 0 and has only one bit set to 1.
If the number is a power of 2, it will have only one bit set to 1 in its binary representation.
Example: (n & (n-1)) == 0 will return true if n is a power of 2.
Floating point numbers are stored using a combination of a sign bit, an exponent, and a mantissa.
A floating point number is represented in binary form.
The first bit represents the sign of the number (0 for positive, 1 for negative).
The next few bits represent the exponent, which determines the scale of the number.
The remaining bits represent the mantissa, which contains the significant digits of the number.
The IEEE 754...
PID of a process can be generated using various commands in different operating systems.
In Linux, use the 'ps' command to get the process ID
In Windows, use the 'tasklist' command to get the process ID
In macOS, use the 'top' command to get the process ID
In Python, use the 'os.getpid()' function to get the process ID
To reverse a binary tree, swap the left and right subtrees recursively starting from the root node.
Start by swapping the left and right subtrees of the root node
Recursively swap the left and right subtrees of each node
Stop when you reach the leaf nodes
Example: 1 1 / \ / \ 2 3 3 2
Example: A A / \ / \ B C C B / \ / \ / \ / \ D E F G G F
Explaining why software job at IBM is the best option despite having a degree in VLSI
Limited opportunities in core jobs
High cost of hardware courses
Dependence on parents
IBM works on both software and hardware
IBM generates more patents
Opportunity to work on semiconductor projects
I appeared for an interview before Sep 2016.
Some of the top questions asked at the IBM interview for freshers -
The duration of IBM interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 119 interviews
Interview experience
based on 22.3k reviews
Rating in categories
Bangalore / Bengaluru
1-4 Yrs
₹ 3.2-5.8 LPA
Application Developer
11.8k
salaries
| ₹5.6 L/yr - ₹24 L/yr |
Software Engineer
5.5k
salaries
| ₹5.5 L/yr - ₹22.7 L/yr |
Advisory System Analyst
5.4k
salaries
| ₹9.5 L/yr - ₹25.5 L/yr |
Senior Software Engineer
5k
salaries
| ₹8 L/yr - ₹30.4 L/yr |
Software Developer
4.6k
salaries
| ₹10.1 L/yr - ₹30 L/yr |
Oracle
TCS
Cognizant
Accenture