i
Oportun
Filter interviews by
Implement a dynamic programming solution for stock buy and sell problem.
Use dynamic programming to find the maximum profit by buying and selling stocks.
Keep track of the minimum stock price seen so far and update the maximum profit accordingly.
Consider edge cases like no profit or negative profit.
Example: Input [7, 1, 5, 3, 6, 4], Output 5 (buy at 1, sell at 6)
CAP Theorem states that in a distributed system, it is impossible to simultaneously achieve consistency, availability, and partition tolerance.
Consistency: All nodes in the system have the same data at the same time.
Availability: Every request gets a response, even if some nodes are down.
Partition Tolerance: The system continues to operate despite network partitions.
Examples: MongoDB prioritizes consistency and pa...
Angular has a life cycle consisting of several phases that a component goes through from creation to destruction.
Angular components go through several life cycle hooks such as ngOnInit, ngOnDestroy, etc.
ngOnInit is called after the component has been initialized and its data-bound properties have been checked.
ngOnDestroy is called just before the component is destroyed.
Other life cycle hooks include ngOnChanges, n...
A function is a standalone block of code that can be called independently, while a method is a function that is associated with a class or object.
Functions are standalone blocks of code, while methods are functions associated with classes or objects.
Functions can be called independently, while methods are called on specific instances of classes or objects.
Functions are defined outside of classes, while methods are...
DynamoDB is a fully managed NoSQL database service provided by AWS, designed for high performance and scalability.
DynamoDB is schema-less, allowing for flexible data models
It offers high availability and durability through replication and automatic backups
DynamoDB uses primary keys for data retrieval, with optional secondary indexes for querying
It supports ACID transactions for consistency and reliability
DynamoDB ...
Java 8 stream setup involves creating a stream from a collection or array and applying operations like filter, map, and reduce.
Create a stream from a collection using stream() method
Apply operations like filter, map, and reduce to process elements
Use terminal operations like collect or forEach to get the final result
The first round was a coding test, which was outsourced to an external vendor. I was asked 2 basic DSA questions, and there was discussions around the time and space complexity, and scope of optimizing the solutions. Post that there were a few questions around Spring Boot features and basic system design. The interviewer was professional throughout the interview, and the interview process felt more like a discussion, as compared to the standard interview process.
There was another round of coding - this time conducted by the organization itself. It consisted of a medium level DSA question on stacks. I wrote the code on my personal IDE and executed it there itself. The interviewer discussed about the possible edge cases and how I would deal with them. Post solving the question I was asked about my previous projects.
This was the final round where the discussion was largely around system design and HLD. It started off with questions are system design patterns and concepts. Then I was asked to design a booking design, with discussions around concurrency control and transaction management.
I applied via Company Website and was interviewed in Jun 2024. There were 2 interview rounds.
1 hour - Reverse linked list k at a time
Java 8 stream setup involves creating a stream from a collection or array and applying operations like filter, map, and reduce.
Create a stream from a collection using stream() method
Apply operations like filter, map, and reduce to process elements
Use terminal operations like collect or forEach to get the final result
CAP Theorem states that in a distributed system, it is impossible to simultaneously achieve consistency, availability, and partition tolerance.
Consistency: All nodes in the system have the same data at the same time.
Availability: Every request gets a response, even if some nodes are down.
Partition Tolerance: The system continues to operate despite network partitions.
Examples: MongoDB prioritizes consistency and partiti...
DynamoDB is a fully managed NoSQL database service provided by AWS, designed for high performance and scalability.
DynamoDB is schema-less, allowing for flexible data models
It offers high availability and durability through replication and automatic backups
DynamoDB uses primary keys for data retrieval, with optional secondary indexes for querying
It supports ACID transactions for consistency and reliability
DynamoDB is de...
A function is a standalone block of code that can be called independently, while a method is a function that is associated with a class or object.
Functions are standalone blocks of code, while methods are functions associated with classes or objects.
Functions can be called independently, while methods are called on specific instances of classes or objects.
Functions are defined outside of classes, while methods are defi...
Implement a dynamic programming solution for stock buy and sell problem.
Use dynamic programming to find the maximum profit by buying and selling stocks.
Keep track of the minimum stock price seen so far and update the maximum profit accordingly.
Consider edge cases like no profit or negative profit.
Example: Input [7, 1, 5, 3, 6, 4], Output 5 (buy at 1, sell at 6)
I applied via Referral and was interviewed before Jul 2022. There were 5 interview rounds.
Angular has a life cycle consisting of several phases that a component goes through from creation to destruction.
Angular components go through several life cycle hooks such as ngOnInit, ngOnDestroy, etc.
ngOnInit is called after the component has been initialized and its data-bound properties have been checked.
ngOnDestroy is called just before the component is destroyed.
Other life cycle hooks include ngOnChanges, ngDoCh...
Top trending discussions
I applied via Referral and was interviewed in Jan 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Jun 2020. There was 1 interview round.
I applied via Company Website and was interviewed before Jan 2021. There were 3 interview rounds.
Routing through a proxy involves configuring the proxy server to forward requests to the destination server.
Configure the proxy server to listen for incoming requests
Configure the proxy server to forward requests to the destination server
Configure the client to use the proxy server for outgoing requests
Use a proxy server to bypass network restrictions or improve performance
Examples: Nginx, Apache, Squid
Race condition is a situation where multiple threads/processes access and manipulate shared data simultaneously.
It can be eliminated by using synchronization techniques like locks, semaphores, and mutexes.
Another way is to use atomic operations that ensure the data is accessed and modified atomically.
Using thread-safe data structures can also prevent race conditions.
Example: Two threads trying to increment a shared var...
JCube is a Java library for creating and manipulating Rubik's Cube puzzles.
JCube provides classes for representing Rubik's Cube puzzles and algorithms for solving them.
It supports various cube sizes and can generate random scrambles.
JCube can be used in Java applications or as a standalone command-line tool.
It is open source and available on GitHub.
Regression testing is the process of testing changes made to a software application to ensure that existing functionality still works.
It is performed after making changes to the software
It ensures that existing functionality is not affected by the changes
It helps to catch any defects or bugs that may have been introduced
It can be automated using testing tools
Examples include retesting after bug fixes, testing after new...
Software engineering principles are the best practices and guidelines for developing high-quality software.
Software should be designed with modularity and scalability in mind.
Code should be well-documented and easy to read.
Testing and debugging should be an integral part of the development process.
Version control should be used to manage code changes.
Security and privacy should be considered throughout the development ...
A Singleton class is a class that can only have one instance at a time.
It restricts the instantiation of a class to a single object.
It provides a global point of access to that instance.
It is often used in situations where a single object is required to coordinate actions across a system.
Example: Database connection manager, Configuration manager, Logger manager.
Testing principles ensure software quality, while design principles guide software development.
Testing principles include unit testing, integration testing, and acceptance testing.
Design principles include SOLID, DRY, and KISS.
Testing principles ensure that software meets requirements and is free of defects.
Design principles guide software development to be modular, maintainable, and scalable.
I have the necessary skills, experience, and passion to contribute to VISA's success.
I have a strong background in software development and have worked on projects similar to those at VISA.
I am a quick learner and can adapt to new technologies and programming languages easily.
I am passionate about creating high-quality software that meets the needs of users and exceeds their expectations.
I am a team player and can work...
A profile that challenges me to learn and grow while allowing me to contribute to a team.
A position that encourages continuous learning and development
A role that allows me to collaborate with a team and contribute to projects
A company culture that aligns with my values and work ethic
I am interested in exploring new opportunities and challenges that this company can offer.
I am impressed with the company's reputation and growth potential.
I am excited about the projects and technologies this company is working on.
I believe this company can provide me with a better work-life balance and career growth opportunities.
I am looking for a company culture that aligns with my values and goals.
I am open to exp...
Design an MVC controller system to route URLs to the appropriate controllers based on the URL structure.
Define a routing mechanism that maps URLs to controller actions.
Use a hierarchical structure where each segment of the URL corresponds to a controller.
Example: For 'xyz.com/a/b/c', 'a' routes to 'AController', 'b' to 'BController', and 'c' to 'CController'.
Implement a method to parse the URL and invoke the correspond...
Autocomplete in IDEs helps developers write code faster by suggesting code snippets and completing code as they type.
Autocomplete should suggest code snippets based on the context of the code being written
Autocomplete should prioritize suggestions based on frequency of use
Autocomplete should also suggest variable and function names
Autocomplete should be customizable to allow for user-defined snippets and suggestions
Exa...
My weakness is public speaking.
I tend to get nervous when speaking in front of large groups.
I am working on improving my public speaking skills by practicing and seeking feedback.
I have taken courses and attended workshops to help me overcome my fear of public speaking.
Comparing 2 basketball game scenarios with different number of trials and baskets required to win
Calculate the probability of winning in each game scenario using binomial distribution formula
Compare the probabilities to determine which game scenario is preferable
In game1, the probability of winning is p. In game2, the probability of winning is the sum of probabilities of making 2 or 3 baskets
If p is high, game1 is pref...
based on 6 interview experiences
Difficulty level
Duration
based on 6 reviews
Rating in categories
Senior Software Engineer
21
salaries
| ₹26.6 L/yr - ₹44 L/yr |
Senior Product Manager
10
salaries
| ₹59 L/yr - ₹72 L/yr |
Data Engineer
10
salaries
| ₹12.7 L/yr - ₹19.8 L/yr |
Senior Software Engineer Testing
7
salaries
| ₹22 L/yr - ₹35 L/yr |
Software Engineer
7
salaries
| ₹23 L/yr - ₹32.3 L/yr |
Paytm
FIS
PhonePe
Fiserv