i
Apexon
Filter interviews by
I applied via LinkedIn and was interviewed in Dec 2024. There was 1 interview round.
Top trending discussions
posted on 21 Jun 2024
HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.
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 find the index in the array where it will be stored.
If multiple keys hash to the same index, a linked list is used to handle collisions.
HashMap allows one null key and multiple null values.
Th...
Singleton class is a class that can only have one instance and provides a global point of access to it.
Singleton class restricts the instantiation of a class to one object.
It provides a way to access its unique instance globally.
Commonly used in scenarios where only one instance of a class is needed, such as database connections or thread pools.
The task is to find all pairs in an array that add up to a given sum.
Iterate through the array and store each element in a hash set.
For each element, check if the difference between the sum and the element exists in the hash set.
If it does, add the pair to the result list.
based on 1 interview
Interview experience
Senior Software Engineer
758
salaries
| ₹6.2 L/yr - ₹25 L/yr |
Software Engineer
597
salaries
| ₹4 L/yr - ₹14.3 L/yr |
Softwaretest Engineer
249
salaries
| ₹3.3 L/yr - ₹10.3 L/yr |
Senior Engineer
238
salaries
| ₹7 L/yr - ₹26.3 L/yr |
Technical Lead
191
salaries
| ₹10 L/yr - ₹33 L/yr |
TCS
Infosys
Wipro
HCLTech