Filter interviews by
Top trending discussions
I applied via Approached by Company
I was interviewed before Mar 2024.
When I was join there no assignment I think now they conducting
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 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 uses the hashCode() method of ke...
JDK 8 features include lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions allow you to write code in a more concise and readable way.
Functional interfaces enable the use of lambda expressions.
Streams provide a way to work with sequences of elements efficiently.
Default methods allow interfaces to have concrete methods.
Date and Time API improvements.
Java hash map is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values based on keys.
HashMap in Java implements the Map interface and allows null keys and values.
It uses hashing to store and retrieve key-value pairs, providing O(1) time complexity for get() and put() operations.
Example: HashMap
I applied via LinkedIn and was interviewed in Dec 2023. There was 1 interview round.
A transaction in Java is a unit of work that is performed as a single, indivisible operation.
Transactions ensure data integrity by either committing all changes or rolling them back if an error occurs.
Transactions are typically used in database operations to ensure consistency.
In Java, transactions are commonly implemented using frameworks like Spring's @Transactional annotation.
posted on 9 Jan 2023
Find the second largest element from the array.
Sort the array in descending order and return the second element.
Iterate through the array and keep track of the two largest elements.
Use a priority queue to find the second largest element.
Sort array and return second last element
Use built-in sort function
Access second last element using array index -2
I applied via Recruitment Consulltant and was interviewed in Nov 2021. There were 4 interview rounds.
Live coding on my technology
based on 4 reviews
Rating in categories
Associate Engineer
188
salaries
| ₹2.8 L/yr - ₹7.6 L/yr |
Physical Design Engineer
129
salaries
| ₹3 L/yr - ₹10 L/yr |
Design & Verification Engineer
80
salaries
| ₹3.1 L/yr - ₹10.6 L/yr |
Senior Engineer
61
salaries
| ₹8.3 L/yr - ₹31 L/yr |
Engineer
50
salaries
| ₹4.4 L/yr - ₹15 L/yr |
Intel
Qualcomm
Texas Instruments
Analog Devices