i
Optimum Infosystem
Filter interviews by
I applied via LinkedIn and was interviewed in Mar 2023. There were 3 interview rounds.
Top trending discussions
Automate credits of regularly updated VM using scripts
Create a script to automatically update the VM on a regular schedule
Utilize tools like Ansible or Puppet for automation
Set up a cron job to run the script at specified intervals
Ensure proper testing and monitoring of the automation process
Create a docker file to make mongodb available for developers
Use the official MongoDB Docker image as the base image
Expose the default MongoDB port (27017)
Set up any necessary environment variables or configurations
Build the Docker image using the Dockerfile
Run the Docker container with the MongoDB image
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.
It was medium level question
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.
Senior Consultant
361
salaries
| ₹7.5 L/yr - ₹30.3 L/yr |
Consultant
249
salaries
| ₹5.5 L/yr - ₹19.5 L/yr |
Lead Consultant
77
salaries
| ₹9.3 L/yr - ₹35.3 L/yr |
Senior Software Engineer
76
salaries
| ₹9 L/yr - ₹27.8 L/yr |
Associate Consultant
71
salaries
| ₹2.8 L/yr - ₹9.9 L/yr |
TCS
Infosys
Wipro
HCLTech