Filter interviews by
Return indices of 2 numbers in an array that add up to a target integer.
Use a hash table to store the complement of each number in the array.
Iterate through the array and check if the complement exists in the hash table.
Return the indices of the two numbers that add up to the target.
Return the longest palindromic substring of a given string.
A palindrome is a string that reads the same backward as forward.
Use dynamic programming to solve the problem efficiently.
Start with the longest possible substring and check if it's a palindrome.
If it's not, try the next longest substring until you find a palindrome.
Return the longest palindrome found.
posted on 21 Oct 2024
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There were 4 interview rounds.
Basic hacker rank problem
posted on 2 Dec 2024
I applied via LinkedIn and was interviewed in Jun 2024. There was 1 interview round.
Group id is a unique identifier for a group of consumers in Kafka consumer configuration.
Group id helps in coordinating the consumption of messages among multiple consumers in a consumer group.
Each consumer group should have a unique group id to ensure proper message distribution.
Changing the group id will result in the consumer group starting consumption from the beginning of the topic.
Group id is specified in the con...
Recursive algorithm for multiplying 2 numbers
Define a base case for when one of the numbers is 0
Use recursion to repeatedly add the second number to the result until the first number reaches 0
Consider handling negative numbers and optimizing for efficiency
Spring filters are used to intercept HTTP requests and responses in a Spring application.
Spring filters can be used for logging, authentication, authorization, etc.
They are implemented using the javax.servlet.Filter interface.
Filters can be configured in the web.xml file or using annotations like @WebFilter.
Example: Implementing a logging filter to log incoming requests and outgoing responses.
SQL query to retrieve the first 5 biggest salaries from a table
Use the ORDER BY clause to sort salaries in descending order
Use the LIMIT clause to limit the results to the first 5 rows
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
Program to check if a number is a palindrome or not.
Convert the number to a string to easily check for palindrome
Reverse the string and compare it with the original string
If they are the same, the number is a palindrome
Lambda expressions in Java are used to provide a concise way to represent anonymous functions.
Lambda expressions are used to define inline implementation of a functional interface.
They enable you to pass functionality as an argument to a method.
Lambda expressions are made up of parameters, an arrow, and a body.
Example: (a, b) -> a + b
To call a default method of an interface when a class implements multiple interfaces, use the interface name followed by the method name.
Use InterfaceName.super.methodName() to call the default method of a specific interface.
If a class implements multiple interfaces with default methods of the same name, you must specify the interface name to call the desired method.
Example: Interface1.super.defaultMethod() to call the
JIT compiler stands for Just-In-Time compiler, which compiles code during runtime instead of ahead of time.
JIT compiler improves performance by compiling code on the fly as it is needed
It converts bytecode into native machine code for execution
Examples include Java HotSpot JIT compiler and .NET JIT compiler
Futures are financial contracts that obligate the buyer to purchase an asset or the seller to sell an asset at a predetermined future date and price.
Futures are standardized contracts traded on exchanges, where the buyer agrees to purchase an asset at a future date for a price agreed upon today.
They are commonly used in commodities, currencies, and financial instruments trading.
Futures allow investors to hedge against ...
GC stands for Garbage Collection, a process in programming languages where unused memory is automatically reclaimed.
Types of GC include: Mark and Sweep, Reference Counting, Generational, and Incremental.
Mark and Sweep: Identifies and removes unreachable objects.
Reference Counting: Keeps track of the number of references to an object and deletes it when the count reaches zero.
Generational: Divides objects into different...
A trading process involves buying and selling financial instruments in the market.
Research and analysis of market trends and opportunities
Placing buy or sell orders through a trading platform
Monitoring and managing open positions
Executing trades based on predetermined strategies
Recording and analyzing trade data for performance evaluation
I applied via Monster and was interviewed in Feb 2024. There was 1 interview round.
ref is used for passing a variable by reference, out is used for returning a variable by reference
ref is used for passing a variable by reference, allowing the method to modify the variable
out is used for returning a variable by reference, typically used for returning multiple values from a method
Example: int x = 10; SomeMethod(ref x); // x can be modified inside SomeMethod
Example: int result; SomeMethod(out result); /
posted on 29 Jun 2024
Duration : 1 hours
Question type : Greedy algo question(DSA)
Platform : of any choice
LLDs are detailed design documents that describe the software architecture of a system.
LLDs typically include detailed information on modules, components, interfaces, and data for a system.
They help in understanding how different parts of the system interact and communicate with each other.
Examples of LLDs include class diagrams, sequence diagrams, and data flow diagrams.
LLDs are crucial for developers to implement the
posted on 7 May 2024
posted on 22 Aug 2022
I applied via Company Website and was interviewed in Jul 2022. There were 2 interview rounds.
General knowledge and development skills and new things..
posted on 13 Feb 2023
I applied via Recruitment Consulltant and was interviewed in Jan 2023. There were 2 interview rounds.
Micro-frontends are a technique for breaking down a large frontend application into smaller, more manageable parts.
Each micro-frontend is a self-contained module that can be developed and deployed independently.
They communicate with each other through APIs or events.
Micro-frontends can be written in different languages and frameworks.
They can be combined to form a cohesive user interface.
Examples of companies using mic
HDFC Bank
ICICI Bank
State Bank of India
Axis Bank