i
Xebia
Filter interviews by
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
Java 8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions: Enable functional programming in Java by expressing instances of single-method interfaces (functional interfaces) concisely.
Functional interfaces: Interfaces with a single abstract method, such as java.util.function.Function or java.util.function.Predicate.
Streams: Allow for proce...
Eviction policy in cache determines which items should be removed when the cache reaches its maximum capacity.
Eviction policy helps in managing the cache size and ensuring that the most relevant data is retained.
Common eviction policies include LRU (Least Recently Used), LFU (Least Frequently Used), and FIFO (First In, First Out).
For example, in LRU policy, the least recently accessed items are removed from the cache w
LRU (Least Recently Used) is a cache eviction policy where the least recently accessed items are removed from the cache when it reaches its capacity.
LRU cache stores key-value pairs with a maximum capacity. When the cache is full, the least recently used item is evicted to make space for new items.
Each time a key is accessed in the cache, it is moved to the front of the cache to indicate it was the most recently used i...
Factory pattern is a creational design pattern that provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.
Create an interface or abstract class for the factory with a method to create objects
Create concrete classes that implement the factory interface and return specific types of objects
Client code uses the factory to create objects without k
Profiles in Spring Boot allow you to define different configurations for different environments.
Profiles are used to customize application behavior based on the environment it is running in.
You can define profiles in application.properties or application.yml using 'spring.profiles.active' property.
Common profiles include 'dev', 'test', and 'prod' for development, testing, and production environments.
You can have differ...
I have used Redis and Memcached. Cache is needed to improve performance by storing frequently accessed data in memory.
Used Redis for key-value storage and Memcached for object caching
Cache is needed to reduce database load and improve response time
Helps in storing frequently accessed data in memory for quick retrieval
Yes, I have worked on Kafka. My code had 10 partitions.
Yes, I have experience working with Kafka and have implemented code with multiple partitions.
In one of my projects, I used Kafka with 10 partitions to distribute the workload efficiently.
Having multiple partitions in Kafka helped in achieving high throughput and scalability for real-time data processing.
Top trending discussions
I applied via Walk-in and was interviewed before Dec 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Feb 2020. There were 6 interview rounds.
I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed in Oct 2020. There were 4 interview rounds.
Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Start from the first element and compare it with the next element
If the next element is smaller, swap them
Repeat this process for all elements in the array
Continue this process until no more swaps are needed
A program to print all prime numbers
Take input from user for range of numbers
Loop through the range and check if each number is prime
Print the prime numbers
Hashmap is a data structure that stores key-value pairs and allows constant time access to values based on their keys.
Hashmap uses a hash function to map keys to indices in an array.
Collisions can occur when multiple keys map to the same index, which can be resolved using techniques like chaining or open addressing.
Examples of hashmap implementations include Java's HashMap class and Python's dict type.
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reuse and promotes code organization.
The existing class is called the parent or superclass, and the new class is called the child or subclass.
The child class inherits all the properties and methods of the parent class and can also add new properties and methods.
For...
I applied via Walk-in and was interviewed in Mar 2021. There was 1 interview round.
I was interviewed in Mar 2021.
based on 1 interview
Interview experience
based on 35 reviews
Rating in categories
Senior Consultant
652
salaries
| ₹0 L/yr - ₹0 L/yr |
Lead Consultant
419
salaries
| ₹0 L/yr - ₹0 L/yr |
Consultant
377
salaries
| ₹0 L/yr - ₹0 L/yr |
Principal Consultant
162
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
133
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech