Filter interviews by
Reverse a string using recursion in Java
Create a recursive method that takes a string as input
Base case: if the string is empty or has only one character, return the string
Recursive case: return the last character of the string concatenated with the result of calling the method with the substring excluding the last character
Top trending discussions
I applied via LinkedIn and was interviewed in Sep 2024. There was 1 interview round.
CVS stands for Concurrent Versions System, a version control system. It can be installed in IIB using the command line or GUI.
CVS is a version control system used to track changes in files and manage multiple versions of the same project.
To install CVS in IIB, you can use the command line by running 'sudo apt-get install cvs' or use a GUI tool like TortoiseCVS.
Once installed, you can configure CVS in IIB by setting up ...
SSL in ACE is configured using SSL profiles which define the SSL settings for a virtual server.
SSL profiles in ACE define the SSL version, cipher suite, key exchange algorithm, etc.
SSL profiles can be attached to a virtual server to enable SSL encryption for client connections.
ACE supports SSL termination where SSL connections from clients are decrypted at the ACE and forwarded to backend servers in clear text.
IIB is the previous version of IBM Integration Bus, while ACE is the newer version with added features and capabilities.
IIB stands for IBM Integration Bus, while ACE stands for App Connect Enterprise.
ACE includes all the features of IIB along with additional capabilities such as support for RESTful APIs and enhanced security.
ACE also provides a more user-friendly interface for developers compared to IIB.
Migration from ...
Find the longest palindrome substring in an array of strings.
Iterate through each string in the array
Check for palindromes within each string
Keep track of the longest palindrome found
I applied via Recruitment Consulltant and was interviewed before Sep 2021. There were 4 interview rounds.
Simple crisp and to the point questions no extra stuff
Dependency Injection is a design pattern in which components are given their dependencies rather than creating them internally.
Allows for easier testing by providing mock dependencies
Promotes loose coupling between components
Improves code reusability and maintainability
Examples: Constructor injection, Setter injection, Interface injection
In Java, exceptions can be handled using try-catch blocks to catch and handle specific exceptions.
Use try-catch blocks to catch exceptions and handle them gracefully
Use multiple catch blocks to handle different types of exceptions
Use finally block to execute code regardless of whether an exception is thrown or not
Throw custom exceptions using throw keyword
map transforms each element in a stream, while flatMap transforms each element into multiple elements
map applies a function to each element in a stream and returns a new stream of the results
flatMap applies a function that returns a stream for each element in the original stream, then flattens the streams into a single stream
Example: map - stream.map(x -> x * x), flatMap - stream.flatMap(str -> Arrays.stream(str.split(
ConcurrentModificationException occurs when a collection is modified while iterating over it.
Use Iterator to iterate over the collection instead of foreach loop.
If modification is necessary, use Iterator's remove() method instead of collection's remove() method.
Consider using synchronized collections or ConcurrentHashMap to avoid ConcurrentModificationException.
Use MySQL query with ORDER BY and LIMIT to find employee with 2nd highest salary.
Use ORDER BY salary DESC to sort salaries in descending order
Use LIMIT 1,1 to skip the highest salary and get the second highest salary
A branch in git is a separate line of development that allows you to work on features or fixes without affecting the main codebase.
Branches allow for parallel development
They can be created, switched between, merged, and deleted
Common branches include master, develop, feature branches, and release branches
Reasoning, English, mathematics
HTML, JavaScript, python
Basic aptitude questions held online with their portal
Broad coding and basic oops
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Ensures a class has only one instance by providing a global access point to it
Uses a private constructor to restrict instantiation of the class
Provides a static method to access the single instance
Commonly used in scenarios where only one instance of a class is needed, such as database connections or configuration
based on 1 interview
Interview experience
Senior Executive
1.2k
salaries
| ₹1.5 L/yr - ₹6.1 L/yr |
Senior Software Consultant
550
salaries
| ₹7.8 L/yr - ₹26 L/yr |
Softwaretest Engineer
542
salaries
| ₹3 L/yr - ₹8.5 L/yr |
Customer Service Executive
413
salaries
| ₹1.5 L/yr - ₹6.7 L/yr |
Software Consultant
387
salaries
| ₹4.3 L/yr - ₹15.2 L/yr |
Wipro
TCS
Infosys
HCLTech