Filter interviews by
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
HashMap is a data structure that stores key-value pairs and uses hashing to efficiently 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 the index in the array where the pair will be stored.
If multiple keys hash to the same index, a linked list is used to handle collisions.
Retrieving a value involves ha...
A singleton class is a class that can only have one instance created and provides a global point of access to that instance.
Ensure the class has a private constructor to prevent external instantiation.
Provide a static method to access the single instance of the class.
Use lazy initialization to create the instance only when needed.
Consider thread safety if the singleton will be accessed by multiple threads.
Top trending discussions
I applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.
I applied via Company Website and was interviewed in Feb 2021. There was 1 interview round.
I appeared for an interview in Sep 2021.
I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.
based on 1 interview
Interview experience
Java Developer
17
salaries
| ₹10.7 L/yr - ₹32.2 L/yr |
Application Support Engineer
11
salaries
| ₹4.5 L/yr - ₹14 L/yr |
Senior Java Developer
9
salaries
| ₹13.5 L/yr - ₹43.5 L/yr |
Project Manager
7
salaries
| ₹7 L/yr - ₹18.2 L/yr |
Technical Lead
6
salaries
| ₹27 L/yr - ₹32 L/yr |
TCS
Accenture
Wipro
Cognizant