Filter interviews by
The problem involves counting the number of valid parentheses combinations in a string.
Use a stack to track opening parentheses and ensure they are matched with closing ones.
Count valid pairs as you traverse the string, e.g., '()' is valid, while '(()' is not.
Consider edge cases like empty strings or strings with no parentheses.
A React component can interact with the window object for various functionalities like resizing, scrolling, and event handling.
Use `window.addEventListener` to listen for events like resize or scroll.
Example: `window.addEventListener('resize', handleResize);`
Clean up event listeners in `componentWillUnmount` to prevent memory leaks.
Access window properties like `window.innerWidth` for responsive designs.
Use `windo...
Encryption of code involves converting plaintext into ciphertext to secure data.
Choose a strong encryption algorithm like AES or RSA
Generate a key for encryption
Encrypt the plaintext using the key and algorithm
Store or transmit the ciphertext securely
Abstraction is hiding the implementation details, function overriding is providing a new implementation for a method in a subclass.
Abstraction involves hiding the complex implementation details and showing only the necessary features to the user.
Function overriding occurs in inheritance when a subclass provides a specific implementation for a method that is already defined in its superclass.
Example: Parent class '...
What people are saying about PayPal
Rotten oranges problem involves finding the minimum time required to rot all oranges in a grid.
Use Breadth First Search (BFS) to traverse the grid and update the ripening time of neighboring oranges.
Keep track of the fresh oranges and the time taken to rot them all.
Handle edge cases like no fresh oranges or unreachable oranges.
Design a system for managing a parking lot efficiently.
Use a database to store information about available parking spots, vehicles, and payments.
Implement a system for tracking entry and exit of vehicles.
Include features like online booking, payment options, and real-time availability updates.
Consider implementing a ticketing system for managing parking duration and fees.
Check if a given file path exists in the file system hierarchy and return the result.
Use file system APIs to check if the given file path exists in the hierarchy.
Traverse the file system hierarchy starting from the root directory to find the given file path.
Return true if the file path exists, false otherwise.
Design a parking system to manage vehicle parking efficiently and optimize space usage.
Define user roles: Admin, Driver, and Parking Attendant.
Implement features like real-time availability tracking and reservation.
Use sensors or cameras for automated entry/exit logging.
Integrate payment systems for seamless transactions.
Consider mobile app for users to find and reserve spots.
MongoDB is scalable due to its ability to horizontally partition data across multiple servers.
MongoDB uses sharding to distribute data across multiple servers.
Sharding allows for horizontal scaling by adding more servers to the cluster.
MongoDB also supports replica sets for high availability and fault tolerance.
Indexes can be created on any field in a MongoDB document, allowing for efficient querying of large data...
To find a cycle in a graph, use depth-first search (DFS) and keep track of visited nodes.
Implement DFS algorithm to traverse the graph
Maintain a visited array to keep track of visited nodes
If a visited node is encountered again during DFS, a cycle exists
I applied via Recruitment Consulltant and was interviewed in Jun 2024. There were 3 interview rounds.
I appeared for an interview in Mar 2025, where I was asked the following questions.
The problem involves counting the number of valid parentheses combinations in a string.
Use a stack to track opening parentheses and ensure they are matched with closing ones.
Count valid pairs as you traverse the string, e.g., '()' is valid, while '(()' is not.
Consider edge cases like empty strings or strings with no parentheses.
A React component can interact with the window object for various functionalities like resizing, scrolling, and event handling.
Use `window.addEventListener` to listen for events like resize or scroll.
Example: `window.addEventListener('resize', handleResize);`
Clean up event listeners in `componentWillUnmount` to prevent memory leaks.
Access window properties like `window.innerWidth` for responsive designs.
Use `window.loc...
Good Experience with friendly interviewer
Hackerrank - 1.5 hour
Design a system for managing a parking lot efficiently.
Use a database to store information about available parking spots, vehicles, and payments.
Implement a system for tracking entry and exit of vehicles.
Include features like online booking, payment options, and real-time availability updates.
Consider implementing a ticketing system for managing parking duration and fees.
Leetcode medium level qustion
I applied via Instahyre and was interviewed before Aug 2022. There were 5 interview rounds.
There 2 coding rounds one on online and other on one-one discussion, both including few problem solving on DS and Algo on topics of Trees, Priority Queue, Arrays, DFS
Check if a given file path exists in the file system hierarchy and return the result.
Use file system APIs to check if the given file path exists in the hierarchy.
Traverse the file system hierarchy starting from the root directory to find the given file path.
Return true if the file path exists, false otherwise.
I appeared for an interview before Mar 2023.
This was back in 2015 so the coding test was very easy: it involved swapping of some numbers
I applied via Campus Placement and was interviewed in Jan 2022. There were 4 interview rounds.
2 coding question
Leetcode medium
Finding optimal path cost and path in a matrix using dynamic programming.
Dynamic programming is a technique to solve problems by breaking them down into smaller subproblems and solving them recursively.
In this case, we can use dynamic programming to find the optimal path cost and path in a matrix.
We can start by defining a 2D array to store the minimum cost of reaching each cell in the matrix.
Then, we can use a recursi...
In 2 years, I see myself as a senior software engineer, leading a team and contributing to the company's growth. I want to join the company because of its reputation for innovation and its focus on employee development.
I plan to continue learning and growing my skills in software development
I hope to take on more leadership responsibilities and mentor junior engineers
I want to contribute to the company's success by dev...
Some of the top questions asked at the PayPal Software Engineer interview -
based on 13 interview experiences
Difficulty level
Duration
based on 29 reviews
Rating in categories
Software Engineer2
355
salaries
| ₹22.5 L/yr - ₹40 L/yr |
Software Engineer
354
salaries
| ₹20.3 L/yr - ₹34.7 L/yr |
Senior Software Engineer
295
salaries
| ₹24.7 L/yr - ₹42.5 L/yr |
Software Engineer III
291
salaries
| ₹30 L/yr - ₹56 L/yr |
Data Scientist
284
salaries
| ₹27.7 L/yr - ₹50 L/yr |
Paytm
Razorpay
Visa
MasterCard