i
Infogain
Filter interviews by
I applied via Recruitment Consultant and was interviewed in Jun 2020. There were 5 interview rounds.
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 LinkedIn and was interviewed in Dec 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Oct 2024. There were 3 interview rounds.
Online zoom coding test will be there - 4 questions - 2 about output of code & 2 about technical questions.
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Virtual polymorphism is achieved through virtual functions in C++.
Virtual functions allow a function in a base class to be overridden in a derived class.
Example: Animal class with virtual function 'makeSound' overridden in Dog a
Virtual polymorphism allows objects of different classes to be treated as objects of a common superclass.
Create a base class with virtual functions
Create derived classes that override the virtual functions
Use pointers or references of the base class to call the overridden functions
Design and code a REST API for a software developer interview.
Define the endpoints and HTTP methods for the API (e.g. GET /users, POST /users)
Implement authentication and authorization mechanisms (e.g. JWT tokens)
Use proper status codes for responses (e.g. 200 OK, 401 Unauthorized)
Include error handling and validation for input data
Document the API using tools like Swagger or OpenAPI
Calculate word frequency using Stream API and lambda expressions
Use Stream API to convert array of strings to stream
Use Collectors.groupingBy to group words by their frequency
Use Collectors.counting to count the occurrences of each word
20 aptitude,20 comunication,4 program questions
General topics . topics about online class vs office line class
Sonarqube is a static code analysis tool used to detect code smells and bugs in code. It is integrated into CI/CD pipelines for continuous code quality checks.
Sonarqube is a static code analysis tool that identifies code smells, bugs, and security vulnerabilities in code.
Code smells are common programming issues that may indicate a deeper problem in the code. Examples include duplicated code, long methods, and complex ...
Program to find numbers divisible by 3 in a string and reverse their indexes.
Iterate through the string and check if each character is a number divisible by 3.
Store the divisible numbers in an array and reverse their indexes.
Join the array back into a string and return the result.
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Consumers read data from topics, while producers write data to topics in Kafka.
Consumers subscribe to topics to read messages from them
Producers publish messages to topics for consumers to read
Consumers can be part of a consumer group to scale out consumption
Producers can specify key for messages to control partitioning
In Spring Boot, we use Spring Data JPA to connect to the database.
Use @EnableJpaRepositories annotation in the main application class to enable JPA repositories
Define datasource properties in application.properties or application.yml file
Use @Entity annotation to define JPA entities
Use JpaRepository interface to perform CRUD operations on entities
Component Scan is a feature in Spring framework that automatically scans and registers Spring components in the application context.
Component Scan is used to automatically detect and register Spring components like @Component, @Service, @Repository, and @Controller.
It eliminates the need for manual configuration of bean definitions in the Spring configuration file.
Component Scan can be configured with base package(s) t...
throw is used to explicitly throw an exception in a method, while throws is used in method signature to declare the exceptions that can be thrown by the method.
throw is used within a method to throw an exception, while throws is used in the method signature to declare the exceptions that can be thrown by the method
throw is followed by an exception object, while throws is followed by the exception class names separated ...
based on 1 review
Rating in categories
Software Engineer
1.3k
salaries
| ₹2.5 L/yr - ₹10.5 L/yr |
Development Consultant
794
salaries
| ₹5.5 L/yr - ₹20 L/yr |
Technical Lead
535
salaries
| ₹11 L/yr - ₹37 L/yr |
Consultant
465
salaries
| ₹5.5 L/yr - ₹19.3 L/yr |
Senior Consultant
365
salaries
| ₹7.5 L/yr - ₹28 L/yr |
TCS
Wipro
HCLTech
Tech Mahindra