i
Mindsprint
Filter interviews by
Top trending discussions
Yes, I have worked on various data structures like arrays, linked lists, stacks, queues, trees, and graphs.
I have implemented algorithms using data structures like sorting, searching, and traversal.
I have optimized code by choosing the appropriate data structure for the problem.
I have used data structures in projects to efficiently store and manipulate data.
Yes, I have experience working on Multithreading in Java.
Implemented multithreading using Java's Thread class
Used synchronized keyword to handle thread synchronization
Utilized Executor framework for managing thread pools
Program to find min and max no from array of strings
Iterate through the array and compare each element to find min and max
Use Integer.parseInt() to convert strings to integers for comparison
Initialize min and max variables with first element of array
The @Controller annotation is used to create a controller class in Spring MVC, while @RestController is used to create RESTful web services.
The @Controller annotation is used to create a controller class in Spring MVC, which is used to handle traditional web requests.
The @RestController annotation is used to create RESTful web services, which return data in JSON or XML format.
The @RestController annotation is a special...
The @Service annotation is used to mark a class as a service, while the @Repository annotation is used to mark a class as a repository.
The @Service annotation is typically used on service layer classes, which contain business logic.
The @Repository annotation is typically used on repository classes, which interact with a database or other data source.
Both annotations are used for component scanning and dependency inject...
ArrayList is implemented using a dynamic array while LinkedList is implemented using a doubly linked list.
ArrayList provides fast access to elements using index, but slow insertion and deletion.
LinkedList provides fast insertion and deletion, but slow access to elements.
Example: ArrayList is suitable for scenarios where random access is required, while LinkedList is suitable for scenarios where frequent insertion and d
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
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
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...
Functional interfaces provide a single abstract method for functional programming in Java.
Functional interfaces allow for lambda expressions and method references to be used as instances of the interface.
Interfaces with multiple abstract methods cannot be used for lambda expressions.
Example: java.util.function.Function is a functional interface with a single abstract method apply().
Java 8 introduced new features like lambda expressions, streams, functional interfaces, and default methods.
Lambda expressions: Allows writing concise code by enabling functional programming.
Streams: Provides a way to work with sequences of elements efficiently.
Functional interfaces: Interfaces with a single abstract method, used for lambda expressions.
Default methods: Allows adding new methods to interfaces without br
Yes, one functional interface can extend another interface in Java.
Functional interfaces can extend other functional interfaces in Java.
The child interface can have only one abstract method, but can inherit default methods from the parent interface.
Example: interface Parent { void method1(); } interface Child extends Parent { void method2(); }
Coding test regarding the tools and technologies
Analyst
137
salaries
| ₹3.5 L/yr - ₹7.6 L/yr |
Senior Associate
117
salaries
| ₹2.5 L/yr - ₹5.4 L/yr |
Deputy Manager
113
salaries
| ₹10 L/yr - ₹23.1 L/yr |
Specialist
109
salaries
| ₹4.9 L/yr - ₹10.8 L/yr |
Team Lead
60
salaries
| ₹6.2 L/yr - ₹11 L/yr |
TCS
Infosys
Wipro
HCLTech