Add office photos
Employer?
Claim Account for FREE

Accenture

3.8
based on 55.8k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

IBM Interview Questions and Answers

Updated 12 Nov 2024
Popular Designations

Q1. Write the sentence which you hear in AI tool.

Ans.

The sentence you hear in an AI tool

  • AI tool: 'Hello, how can I assist you today?'

  • AI tool: 'Please provide your query for me to analyze.'

  • AI tool: 'I am here to help with any questions you may have.'

Add your answer

Q2. Difference between arraylist, set, hashmap and linkedhashmap

Ans.

ArrayList is a resizable array, Set is a collection of unique elements, HashMap is a key-value pair collection, LinkedHashMap maintains insertion order.

  • ArrayList: dynamic array, allows duplicate elements, slower for insertion/deletion

  • Set: collection of unique elements, faster for checking element existence

  • HashMap: key-value pair collection, allows one null key, faster for key-based operations

  • LinkedHashMap: maintains insertion order, slower for key-based operations

Add your answer

Q3. Create a stock without using built-in library

Ans.

Create a stock without using built-in library

  • Create a class Stock with attributes like name, price, quantity, etc.

  • Implement methods like buy, sell, updatePrice, etc. to manipulate the stock data

  • Use arrays or custom data structures to store and manage stock information

Add your answer

Q4. Reverse the linked list using recursion

Ans.

Reverse a linked list using recursion

  • Create a recursive function to reverse the linked list

  • Pass the current node and its next node as parameters in the function

  • Update the next pointer of the current node to point to the previous node

Add your answer
Discover IBM interview dos and don'ts from real experiences

Q5. Internal working of hashmap

Ans.

HashMap is a data structure that stores key-value pairs and uses hashing to quickly retrieve values based on keys.

  • HashMap internally uses an array of linked lists to store key-value pairs.

  • When a key-value pair is added, the key is hashed to determine its index in the array.

  • If multiple keys hash to the same index, a linked list is used to handle collisions.

  • HashMap allows null keys and values, but only one null key.

  • HashMap is not synchronized, so it is not thread-safe. Use Conc...read more

Add your answer

Q6. Tech stack used

Ans.

Our tech stack includes Java, Spring Boot, Angular, and MySQL.

  • Java

  • Spring Boot

  • Angular

  • MySQL

Add your answer

More about working at Accenture

Top Rated Mega Company - 2024
Top Rated Company for Women - 2024
Top Rated IT/ITES Company - 2024
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at IBM

based on 11 interviews
3 Interview rounds
Resume Shortlist Round
Technical Round
HR Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter