Filter interviews by
I applied via campus placement at Camellia Institute of Engineering and Technology, Burdwan and was interviewed before Jun 2022. There were 4 interview rounds.
There was mcq questions related to the technology.
In the 2nd round we were formed as group of 5 people and questions related to aptitude, technology, find the o/p , error in the code,viva and these kind of stuffs were asked.
Also some questions based on certain scenario were also asked.
I was interviewed in Dec 2024.
Custom stack with constant time access to minimum element
Use two stacks - one to store elements and another to store minimum values
When pushing an element, compare with top of min stack and push the smaller value
When popping an element, pop from both stacks
Access minimum element in O(1) time by peeking at top of min stack
To create an immutable class named Employee with fields for name and hobbies defined as List<String>, use private final fields and return new instances in getters.
Use private final fields for name and hobbies in the Employee class
Provide a constructor to initialize the fields
Return new instances or unmodifiable lists in the getters to ensure immutability
Add hashCode() and equals() methods to Employee class.
Override hashCode() method to generate a unique hash code for each Employee object.
Override equals() method to compare Employee objects based on their attributes.
Ensure that the attributes used in hashCode() and equals() methods are immutable.
Example: Add id, name, and department attributes to Employee class and override hashCode() and equals() methods based on thes
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Create a private static instance of the class within the class itself.
Provide a public static method to access the instance, creating it if necessary.
Ensure the constructor of the class is private to prevent instantiation from outside the class.
Use lazy initialization to create the instance only when needed.
Thread...
Ways to create a thread in Java include extending the Thread class, implementing the Runnable interface, and using Java 8's lambda expressions.
Extend the Thread class and override the run() method
Implement the Runnable interface and pass it to a Thread object
Use Java 8's lambda expressions with the Executor framework
SOLID principles are a set of five design principles in object-oriented programming to make software more maintainable, flexible, and scalable.
Single Responsibility Principle (SRP) - A class should have only one reason to change. Example: A class that handles user authentication should not also handle database operations.
Open/Closed Principle (OCP) - Software entities should be open for extension but closed for modific...
OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOP focuses on creating objects that interact with each other to solve a problem.
Encapsulation is a key concept in OOP, where data is kept within an object and only accessible through its methods.
Inheritance allows objects to inherit attributes and methods from parent classes.
Po...
Threads communicate in Java through shared memory or message passing.
Threads can communicate through shared variables in memory.
Threads can communicate through synchronized methods or blocks.
Threads can communicate through wait(), notify(), and notifyAll() methods.
Threads can communicate through message passing using classes like BlockingQueue or ExecutorService.
Program to reverse a linked list
Create a new linked list to store the reversed elements
Traverse the original linked list and insert each node at the beginning of the new list
Update the head of the new list as the last node of the original list
String literals are constant strings defined in code, while the string pool is a memory area where unique string objects are stored.
String literals are created using double quotes, while string pool objects are created using the 'new' keyword.
String literals are stored in the string pool to conserve memory and improve performance.
String literals are automatically interned by the JVM, while string pool objects need to b
Program to print the 90-degree rotated view of a 2D array.
Iterate through each column in reverse order and print the corresponding row elements.
Repeat this process for all columns to get the rotated view of the 2D array.
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
Find the length of the longest subsequence of contiguous integers in an array.
Sort the array
Iterate through the array and check for consecutive integers
Keep track of the longest subsequence found
Use flatMap and map to extract list of pincodes from Employee objects
Use flatMap to flatten the list of Addresses in each Employee object
Use map to iterate over the flattened list and extract the pincodes
Example: employeeList.stream().flatMap(emp -> emp.getAddresses().stream()).map(address -> address.getPincode()).collect(Collectors.toList())
Database pooling is a technique used to manage a pool of database connections for efficient resource utilization. HikariCP is a popular database connection pooling library in Java.
HikariCP is a high-performance database connection pooling library for Java applications.
It is known for its low latency and high throughput.
Configurations for HikariCP include settings such as maximum pool size, connection timeout, and idle ...
I applied via Recruitment Consulltant and was interviewed in Dec 2024. There was 1 interview round.
20 aptitude,20 comunication,4 program questions
General topics . topics about online class vs office line class
I applied via Indeed and was interviewed in May 2024. There were 3 interview rounds.
This test was conducted in MSG browser and it has around 30 questions and around 3 to 5 are related to coding
Our topic of discussion is future of jobs and take the first initiative and don't go off topic and try to agree and add points with the fellow members
Experienced Java Developer with a passion for creating efficient and scalable solutions.
Over 5 years of experience in Java development
Strong knowledge of object-oriented programming principles
Proficient in Spring framework and Hibernate
Experience with RESTful web services and microservices architecture
Familiar with Agile development methodologies
Yes, Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Node.js is used for server-side scripting and building scalable network applications.
It allows developers to use JavaScript for both client-side and server-side development.
Node.js has a large ecosystem of open-source libraries and frameworks like Express.js.
It is commonly used for building real-time web applications, APIs, and microservices.
ArrayList is implemented as a resizable array, while LinkedList is implemented as a doubly linked list.
ArrayList provides fast random access, LinkedList provides fast insertion and deletion.
ArrayList uses more memory as it needs to allocate a fixed size array, LinkedList uses more memory for storing references to the next and previous elements.
Example: ArrayList is better for scenarios where random access is required, ...
HashMap is non-synchronized and allows null values, while HashTable is synchronized and does not allow null values.
HashMap is non-synchronized, meaning it is not thread-safe, while HashTable is synchronized and thread-safe.
HashMap allows null values for both keys and values, while HashTable does not allow null keys or values.
HashMap is faster than HashTable as it is non-synchronized, but HashTable is preferred in multi...
I was interviewed in Jul 2024.
Microservices can introduce complexity, communication overhead, and potential performance issues.
Increased complexity due to managing multiple services
Communication overhead between services
Potential performance issues due to network latency
Difficulty in maintaining consistency across services
No, @FunctionalInterface cannot be extended. Map and flatMap are default methods in the interface and cannot be overridden.
No, @FunctionalInterface cannot be extended as it is a single abstract method interface.
Map and flatMap are default methods in the interface and cannot be overridden.
Example: public interface MyInterface { void myMethod(); default void myDefaultMethod() { // implementation } }
Using Java8 to filter vowels from an array of strings
Use Java8 stream and filter to iterate through each string in the array
Use a lambda expression to check if each character is a vowel
Collect the filtered strings into a new array
based on 1 interview
Interview experience
based on 14 reviews
Rating in categories
Network Engineer
324
salaries
| ₹1.8 L/yr - ₹8.1 L/yr |
Software Developer
256
salaries
| ₹2.5 L/yr - ₹10 L/yr |
Senior Software Developer
226
salaries
| ₹3.6 L/yr - ₹15 L/yr |
Senior Software Engineer
152
salaries
| ₹4.3 L/yr - ₹17 L/yr |
Software Engineer
143
salaries
| ₹2.5 L/yr - ₹12 L/yr |
TCS
Wipro
Infosys
HCLTech