Filter interviews by
Use a MinHeap to efficiently find the kth largest element in an array.
1. Create a MinHeap of size k to store the largest k elements.
2. Iterate through the array, adding elements to the MinHeap.
3. If the size of the MinHeap exceeds k, remove the smallest element.
4. After processing all elements, the root of the MinHeap is the kth largest element.
Example: For array [3, 2, 1, 5, 6, 4] and k=2, the MinHeap will contai...
The program reads a file and selects the first 3 lines. It then identifies the longest line and counts the number of words in that line.
Read the file using appropriate file handling methods
Store the first 3 lines in an array of strings
Iterate through the array to find the longest line
Count the number of words in the longest line using string manipulation methods
The question is about finding the shortest path in a 3x3 matrix with weighted edges.
This is a graph traversal problem.
Use a graph algorithm like Dijkstra's algorithm or A* search to find the shortest path.
Assign weights to the edges and calculate the sum of weights for each possible path.
Choose the path with the smallest sum of weights as the shortest path.
Find the shortest palindrome in an array of strings using O(n^2) time complexity.
A palindrome reads the same forwards and backwards, e.g., 'racecar'.
Iterate through each string in the array and check if it's a palindrome.
Keep track of the shortest palindrome found during the iteration.
Example: For ['abc', 'a', 'aba', 'xyz'], the shortest palindrome is 'a'.
Use two pointers to check for palindrome properties efficie...
What people are saying about PayPal
Amazon displays only a subset of search results based on various factors like relevance, popularity, and user preferences.
Amazon uses algorithms to determine which products to display in search results.
Factors considered include product relevance, customer reviews, sales rank, and availability.
Machine learning techniques may be used to personalize search results based on user behavior and preferences.
Amazon also c...
O(nk) is better than O(n) for large data and hash tables.
O(nk) is better because it takes into account the size of the data and the number of keys.
For large data and hash tables, the size of n will be large, making O(nk) more efficient.
O(n) assumes a constant number of keys, which may not be the case in practice.
Amazon may have chosen O(nk) for better scalability and performance.
Radix sort has a running time of O(nk), where n is the number of elements and k is the length of the longest element.
Radix sort is a non-comparative sorting algorithm that sorts elements by their individual digits or characters.
It works by distributing the elements into 10 buckets based on the value of the least significant digit, then repeatedly redistributing them based on the next significant digit.
The process ...
To check internet connectivity, you can use various methods like pinging a website or checking network status.
Use the command 'ping www.google.com' to see if you receive a response.
Check network settings in your operating system for connectivity status.
Use tools like 'traceroute' to diagnose network paths and issues.
In programming, use libraries like 'requests' in Python to attempt a web request.
Hash tables are a data structure that uses a hash function to map keys to values, providing efficient lookup, insertion, and deletion.
Hash tables use a hash function to convert keys into array indices.
They provide constant-time average case complexity for search, insert, and delete operations.
Collisions can occur when different keys map to the same index, which can be resolved using techniques like chaining or ope...
Radix sort is a sorting algorithm that sorts integers by processing individual digits from least significant to most significant.
Radix sort is a non-comparative sorting algorithm.
It sorts numbers by grouping them based on each digit's value.
It is commonly used for sorting strings in lexicographic order.
Radix sort has linear time complexity, making it efficient for large datasets.
I applied via Approached by Company and was interviewed in Jul 2022. There were 4 interview rounds.
2 Leetcode medium question for 1 hr. 1st was of string manipulation and 2nd was of Dynamic Programming. I don’t remember the exact question.
I applied via Campus Placement and was interviewed before Feb 2023. There were 4 interview rounds.
Online coding round. It has Data structure and algo based questions
I appeared for an interview in Aug 2017.
The program reads a file and selects the first 3 lines. It then identifies the longest line and counts the number of words in that line.
Read the file using appropriate file handling methods
Store the first 3 lines in an array of strings
Iterate through the array to find the longest line
Count the number of words in the longest line using string manipulation methods
Find the shortest palindrome in an array of strings using O(n^2) time complexity.
A palindrome reads the same forwards and backwards, e.g., 'racecar'.
Iterate through each string in the array and check if it's a palindrome.
Keep track of the shortest palindrome found during the iteration.
Example: For ['abc', 'a', 'aba', 'xyz'], the shortest palindrome is 'a'.
Use two pointers to check for palindrome properties efficiently.
The question is about finding the shortest path in a 3x3 matrix with weighted edges.
This is a graph traversal problem.
Use a graph algorithm like Dijkstra's algorithm or A* search to find the shortest path.
Assign weights to the edges and calculate the sum of weights for each possible path.
Choose the path with the smallest sum of weights as the shortest path.
The Fibonacci series can be applied in day-to-day life for various purposes.
Financial planning: Fibonacci numbers can be used to calculate investment growth and determine optimal investment strategies.
Architecture and design: Fibonacci ratios can be used to create aesthetically pleasing designs and layouts.
Nature and biology: Fibonacci patterns can be observed in the growth of plants, arrangement of leaves, and formati...
Typing www.google.com initiates a series of network requests to load the webpage in your browser.
1. DNS Resolution: The browser queries a DNS server to translate www.google.com into an IP address.
2. TCP Connection: A TCP connection is established with the server using the IP address.
3. HTTP Request: The browser sends an HTTP request to the server for the webpage.
4. Server Response: The server processes the request and ...
To check internet connectivity, you can use various methods like pinging a website or checking network status.
Use the command 'ping www.google.com' to see if you receive a response.
Check network settings in your operating system for connectivity status.
Use tools like 'traceroute' to diagnose network paths and issues.
In programming, use libraries like 'requests' in Python to attempt a web request.
Amazon displays only a subset of search results based on various factors like relevance, popularity, and user preferences.
Amazon uses algorithms to determine which products to display in search results.
Factors considered include product relevance, customer reviews, sales rank, and availability.
Machine learning techniques may be used to personalize search results based on user behavior and preferences.
Amazon also consid...
Hash tables are a data structure that uses a hash function to map keys to values, providing efficient lookup, insertion, and deletion.
Hash tables use a hash function to convert keys into array indices.
They provide constant-time average case complexity for search, insert, and delete operations.
Collisions can occur when different keys map to the same index, which can be resolved using techniques like chaining or open add...
The product will be the key and the brands will be the values.
The key in this case refers to the unique identifier for each product.
The values are the different brands associated with each product.
For example, if the product is a smartphone, the key could be the model number and the values could be the different brands that manufacture that model.
Radix sort is a sorting algorithm that sorts integers by processing individual digits from least significant to most significant.
Radix sort is a non-comparative sorting algorithm.
It sorts numbers by grouping them based on each digit's value.
It is commonly used for sorting strings in lexicographic order.
Radix sort has linear time complexity, making it efficient for large datasets.
Radix sort has a running time of O(nk), where n is the number of elements and k is the length of the longest element.
Radix sort is a non-comparative sorting algorithm that sorts elements by their individual digits or characters.
It works by distributing the elements into 10 buckets based on the value of the least significant digit, then repeatedly redistributing them based on the next significant digit.
The process conti...
O(nk) is better than O(n) for large data and hash tables.
O(nk) is better because it takes into account the size of the data and the number of keys.
For large data and hash tables, the size of n will be large, making O(nk) more efficient.
O(n) assumes a constant number of keys, which may not be the case in practice.
Amazon may have chosen O(nk) for better scalability and performance.
If not selected for PayPal, I will continue applying to other companies, improve my skills, and network with professionals in the industry.
Continue applying to other tech companies for similar roles
Work on improving technical skills through online courses or personal projects
Network with professionals in the industry through events or online platforms like LinkedIn
I applied via Recruitment Consulltant and was interviewed before Apr 2021. There were 3 interview rounds.
Common aptitude questions that are available on online (Example : IndiaBix)
Needs to do coding in Java / Python. Problem solving needs to concentrate.
I excel in problem-solving and teamwork, but I sometimes struggle with time management under tight deadlines.
Strength: Strong problem-solving skills - I enjoy tackling complex coding challenges, like optimizing algorithms for efficiency.
Strength: Effective teamwork - I thrive in collaborative environments, contributing to group projects and sharing knowledge.
Weakness: Time management - I occasionally underestimate the ...
I applied via Naukri.com and was interviewed before Feb 2023. There were 2 interview rounds.
Haker rank coding link
I applied via Naukri.com and was interviewed before May 2023. There were 3 interview rounds.
1 DSA Question and Output based MCQ q
I have experience in software development, focusing on web applications and collaborative projects using various technologies.
Developed a web application using React and Node.js for a local business, improving their online presence.
Collaborated with a team of developers on a project using Agile methodologies, enhancing my teamwork and communication skills.
Completed an internship where I contributed to a mobile app, gai...
I have experience in software development, focusing on web applications and collaborative projects using various technologies.
Developed a web application using React and Node.js for a local business, improving their online presence.
Collaborated with a team of developers on a project using Agile methodologies, enhancing my teamwork and communication skills.
Interned at a tech company where I assisted in debugging and opt...
I applied via Company Website and was interviewed in Jul 2023. There were 2 interview rounds.
Mainframe support questions about COBOL,JCL,VSAM,gdg
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...
Some of the top questions asked at the PayPal Software Engineer Level 1 interview -
based on 2 interview experiences
Difficulty level
Duration
based on 1 review
Rating in categories
Software Engineer
353
salaries
| ₹20.1 L/yr - ₹34.3 L/yr |
Software Engineer2
345
salaries
| ₹22.3 L/yr - ₹40 L/yr |
Senior Software Engineer
299
salaries
| ₹24.9 L/yr - ₹43.6 L/yr |
Software Engineer III
290
salaries
| ₹30.2 L/yr - ₹55 L/yr |
Data Scientist
283
salaries
| ₹27.4 L/yr - ₹50 L/yr |
Paytm
Razorpay
Visa
MasterCard