Filter interviews by
I applied via Approached by Company and was interviewed in Sep 2024. There was 1 interview round.
Check if a string of parenthesis is valid or not.
Use a stack to keep track of opening parenthesis.
Iterate through the string and push opening parenthesis onto the stack.
When encountering a closing parenthesis, pop from the stack and check if it matches the corresponding opening parenthesis.
If stack is empty at the end and all parenthesis have been matched, the string is valid.
Top trending discussions
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.
I applied via LinkedIn and was interviewed in Apr 2024. There were 3 interview rounds.
How will you architect the Search Suggestion page
I will design a scalable and modular architecture that meets the product requirements.
Identify the key components and their interactions
Consider scalability and performance requirements
Use design patterns like MVC or microservices
Ensure security and data privacy measures are in place
Document the architecture for future reference
To identify circles collided, check if the sum of their radii is greater than the distance between their centers.
Calculate the distance between the centers of the two circles using the distance formula
Add the radii of the two circles
If the sum of the radii is greater than or equal to the distance between the centers, the circles have collided
Memory Leaks and Threading
I applied via Nextwave and was interviewed in Dec 2023. There were 3 interview rounds.
I got the opportunity through Nextwave. In the coding test I’m supposed to solve few aptitude questions and around 5-6 coding questions. Out of them 2 are of easy level ,2 are medium and 2 are of hard level.
I solved 2 easy, 1 medium and 1 hard problem.
String Reverse words, Repeated character count etc
posted on 1 Mar 2024
I applied via LinkedIn and was interviewed in Jan 2024. There was 1 interview round.
posted on 23 Jan 2024
I applied via campus placement at Jaipur Engineering College & Research Centre, Jaipur and was interviewed in Dec 2023. There were 4 interview rounds.
It includes reasoning, verbal and quantitative abilities
Includes two coding questions
These are from arrays
General aptitude questions in quants, communication and logical
posted on 27 Apr 2024
based on 1 interview
Interview experience
Senior Software Engineer
219
salaries
| ₹20.9 L/yr - ₹76.4 L/yr |
Software Engineer2
146
salaries
| ₹20 L/yr - ₹60 L/yr |
Software Engineer
126
salaries
| ₹14 L/yr - ₹43.8 L/yr |
Devops Engineer
45
salaries
| ₹4.2 L/yr - ₹16 L/yr |
Staff Software Engineer
43
salaries
| ₹32 L/yr - ₹97 L/yr |
Salesforce
Yodlee
SAP
Oracle