Upload Button Icon Add office photos

PayPal

Compare button icon Compare button icon Compare

Filter interviews by

PayPal Software Engineer Interview Questions and Answers

Updated 10 Apr 2025

45 Interview questions

A Software Engineer was asked
Q. Design classes for educational institutions in a city.
Ans. 

Design classes for educational institutions in a city

  • Identify the main entities: schools, students, teachers, courses

  • Create a School class with attributes like name, address, and a list of students and teachers

  • Create a Student class with attributes like name, age, and a list of courses

  • Create a Teacher class with attributes like name, specialization, and a list of courses

  • Create a Course class with attributes like n...

A Software Engineer was asked
Q. What is hashing and how will you implement?
Ans. 

Hashing is a process of converting data into a fixed-size numerical value called a hash code.

  • Hashing is used to quickly retrieve data from large datasets.

  • It is commonly used in data structures like hash tables and hash maps.

  • Hash functions should be fast, deterministic, and produce unique hash codes for different inputs.

  • Examples of hash functions include MD5, SHA-1, and SHA-256.

Software Engineer Interview Questions Asked at Other Companies

asked in Qualcomm
Q1. Four people need to cross a bridge at night with only one torch t ... read more
asked in Capgemini
Q2. In a dark room, there is a box of 18 white and 5 black gloves. Yo ... read more
Q3. Tell me something about yourself. Define encapsulation. What is i ... read more
asked in Paytm
Q4. Puzzle : 100 people are standing in a circle .each one is allowed ... read more
asked in TCS
Q5. Find the Duplicate Number Problem Statement Given an integer arra ... read more
A Software Engineer was asked
Q. Optimal path cost and path in a matrix . Dynamic programming
Ans. 

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 re...

A Software Engineer was asked
Q. 

Painter's Partition Problem

You are given an array/list of length 'N'. Each element of the array/list represents the length of a board. There are 'K' painters available to paint these boards. Each unit of ...

Ans. 

Find the minimum time required for 'K' painters to paint 'N' boards with given lengths.

  • Use binary search to find the minimum and maximum possible time to paint all boards.

  • Iterate through the possible time range and check if it is feasible to paint all boards within that time.

  • Keep track of the number of painters used and update the time range accordingly.

What people are saying about PayPal

View All
a business intelligence analyst
4d
Expedia -DS II Salary
Any idea about Expedia-Data Scientist II (Level K) salary?
Got a question about PayPal?
Ask anonymously on communities.
🔥 Asked by recruiter 2 times
A Software Engineer was asked
Q. 

Reverse Linked List Problem Statement

Given a singly linked list of integers, return the head of the reversed linked list.

Example:

Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
Reversed linke...
Ans. 

Reverse a singly linked list of integers and return the head of the reversed linked list.

  • Iterate through the linked list and reverse the pointers to point to the previous node instead of the next node.

  • Keep track of the previous, current, and next nodes while reversing the linked list.

  • Update the head of the reversed linked list as the last node encountered during reversal.

A Software Engineer was asked
Q. 

Cycle Detection in a Directed Graph

Determine if a given directed graph contains a cycle. Return true if at least one cycle is found, otherwise return false.

Input:

T
The first line consists of the intege...
Ans. 

Detect if a directed graph contains a cycle.

  • Use depth-first search (DFS) to detect cycles in the graph.

  • Maintain a visited array to keep track of visited vertices.

  • If a vertex is visited again during DFS and it is not the parent of the current vertex, then a cycle exists.

  • Return true if a cycle is found, false otherwise.

A Software Engineer was asked
Q. 

Painting Fences Problem Statement

You are given ‘N’ fences. Your task is to compute the total number of ways to paint these fences using only 2 colors, such that no more than 2 adjacent fences have the sam...

Ans. 

The task is to compute the total number of ways to paint 'N' fences using 2 colors, such that no more than 2 adjacent fences have the same color.

  • Use dynamic programming to solve the problem efficiently.

  • Consider two cases: when the last two fences have the same color and when they have different colors.

  • Implement a solution that calculates the number of ways to paint 'N' fences modulo 10^9 + 7.

  • For N = 2, there are 4...

Are these interview questions helpful?
🔥 Asked by recruiter 2 times
A Software Engineer was asked
Q. 

Dijkstra's Shortest Path Problem

Given an undirected graph with ‘V’ vertices (labeled 0, 1, ... , V-1) and ‘E’ edges, where each edge has a weight representing the distance between two connected nodes (X, ...

Ans. 

Dijkstra's algorithm is used to find the shortest path from a source node to all other nodes in a graph with weighted edges.

  • Implement Dijkstra's algorithm to find the shortest path distances from the source node to all other nodes.

  • Use a priority queue to efficiently select the next node with the shortest distance.

  • Update the distances of neighboring nodes based on the current node's distance and edge weights.

  • Handle...

A Software Engineer was asked
Q. 

Sort Linked List Based on Actual Values

Given a Singly Linked List of integers that are sorted based on their absolute values, the task is to sort the linked list based on the actual values.

The absolute ...

Ans. 

Sort a Singly Linked List based on actual values instead of absolute values.

  • Traverse the linked list and store the values in an array.

  • Sort the array based on actual values.

  • Update the linked list with the sorted values.

🔥 Asked by recruiter 2 times
A Software Engineer was asked
Q. 

Kth Largest Element Problem

Given an array containing N distinct positive integers and a number K, determine the Kth largest element in the array.

Example:

Input:
N = 6, K = 3, array = [2, 1, 5, 6, 3, 8...
Ans. 

Find the Kth largest element in an array of distinct positive integers.

  • Sort the array in non-increasing order to easily find the Kth largest element.

  • Ensure all elements in the array are distinct for accurate results.

  • Handle multiple test cases efficiently by iterating through each case.

PayPal Software Engineer Interview Experiences

25 interviews found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in Jun 2024. There were 3 interview rounds.

Round 1 - One-on-one 

(2 Questions)

  • Q1. Basic Java related questions, OOPs concepts
  • Q2. Write code for encryption of the code
  • Ans. 

    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

  • Answered by AI
Round 2 - One-on-one 

(2 Questions)

  • Q1. Java Related questions, also some system design-related questions
  • Q2. Show the abstraction and write code for function overriding
  • Ans. 

    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 'Anima...

  • Answered by AI
Round 3 - Behavioral 

(1 Question)

  • Q1. Normal questions related to projects and work ethics

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I appeared for an interview in Mar 2025, where I was asked the following questions.

  • Q1. Similar to lc921
  • Ans. 

    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.

  • Answered by AI
  • Q2. React component about window
  • Ans. 

    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...

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. Behavioural discussion with Manager
  • Q2. Technical Leetcode tagged and on REST apis
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Good Experience with friendly interviewer

Round 2 - Technical 

(1 Question)

  • Q1. Product knowledge for the company
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Hackerrank - 1.5 hour

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
Selected Selected
Round 1 - Technical 

(1 Question)

  • Q1. Rotten oranges problem - DS
Round 2 - Technical 

(1 Question)

  • Q1. System design for parking lot
  • Ans. 

    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.

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Leetcode medium level qustion

Interview Preparation Tips

Interview preparation tips for other job seekers - first round was online coding round
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Instahyre and was interviewed before Aug 2022. There were 5 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

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

Round 3 - One-on-one 

(2 Questions)

  • Q1. One of the question was about return min element in stack in constant time (O(1)).
  • Ans. 

    Implement a stack that supports retrieving the minimum element in constant time.

    • Use an auxiliary stack to keep track of minimum values.

    • Push the current minimum onto the auxiliary stack whenever a new element is pushed.

    • When popping an element, also pop from the auxiliary stack if it is the current minimum.

    • Example: For stack [3, 5, 2], min stack would be [3, 2].

    • To get min: simply return the top of the min stack.

  • Answered by AI
  • Q2. Find the and return if the given file path existing in the given file hierarcy(file system).
  • Ans. 

    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.

  • Answered by AI
Round 4 - One-on-one 

(2 Questions)

  • Q1. This round was regarding LLD and HLD round, question on java and resume and LLD and HLD. Java 1) why functional interface 2) how would you use and make yuor own functional interface 3) Options class Netwo...
  • Q2. Given a usecase to build parking system
  • Ans. 

    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.

  • Answered by AI
Round 5 - Behavioral 

(1 Question)

  • Q1. This round was about lot of conversation with technical, leadership and cultural aspect with my manager

Interview Preparation Tips

Interview preparation tips for other job seekers - be fearless and answer only when you sure if not be frank nothing in wrong to try by asking before you do.
Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview before Mar 2023.

Round 1 - Coding Test 

This was back in 2015 so the coding test was very easy: it involved swapping of some numbers

Round 2 - Technical 

(1 Question)

  • Q1. This was a design question on parking lot requiring conceptual understanding of the concept of semaphore.
Round 3 - HR 

(3 Questions)

  • Q1. Tell me about yourself
  • Q2. Why do you want to join PayPal?
  • Q3. Why should we hire you?

Interview Preparation Tips

Topics to prepare for PayPal Software Engineer interview:
  • Java
  • Data Structures
  • Algorithms

I applied via Campus Placement and was interviewed in Jan 2022. There were 4 interview rounds.

Round 1 - Coding Test 

2 coding question
Leetcode medium

Round 2 - Technical 

(1 Question)

  • Q1. Optimal path cost and path in a matrix . Dynamic programming
  • Ans. 

    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...

  • Answered by AI
Round 3 - Technical 

(1 Question)

  • Q1. 2 coding question + general resume discussion
Round 4 - HR 

(2 Questions)

  • Q1. Questions from resume and few general hr question.
  • Q2. Where do you see yourself after 2 years? Why do you want to join the company?
  • Ans. 

    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...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Interviews discuss your approach to a problem and helps in getting to the solution.
Finally you have to code the solution.
They are helpful.

Skills evaluated in this interview

PayPal Interview FAQs

How many rounds are there in PayPal Software Engineer interview?
PayPal interview process usually has 2-3 rounds. The most common rounds in the PayPal interview process are Technical, Coding Test and One-on-one Round.
How to prepare for PayPal Software Engineer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at PayPal. The most common topics and skills that interviewers at PayPal expect are Financial Services, SQL, Oracle, Agile and Coding.
What are the top questions asked in PayPal Software Engineer interview?

Some of the top questions asked at the PayPal Software Engineer interview -

  1. How would I explain the concept of prime number to an illitera...read more
  2. Suggest as many methods as possible for finding the nth largest element in an u...read more
  3. what is hashing and how will you impleme...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.2/5

based on 13 interview experiences

Difficulty level

Easy 14%
Moderate 86%

Duration

Less than 2 weeks 67%
2-4 weeks 17%
4-6 weeks 17%
View more
PayPal Software Engineer Salary
based on 338 salaries
₹19.2 L/yr - ₹40 L/yr
228% more than the average Software Engineer Salary in India
View more details

PayPal Software Engineer Reviews and Ratings

based on 29 reviews

3.5/5

Rating in categories

3.0

Skill development

3.6

Work-life balance

3.7

Salary

2.6

Job security

3.4

Company culture

2.8

Promotions

3.0

Work satisfaction

Explore 29 Reviews and Ratings
Software Engineer2
345 salaries
unlock blur

₹22.2 L/yr - ₹40 L/yr

Software Engineer
338 salaries
unlock blur

₹19.2 L/yr - ₹40 L/yr

Senior Software Engineer
298 salaries
unlock blur

₹24 L/yr - ₹42 L/yr

Software Engineer III
283 salaries
unlock blur

₹30 L/yr - ₹51.2 L/yr

Data Scientist
273 salaries
unlock blur

₹28 L/yr - ₹50 L/yr

Explore more salaries
Compare PayPal with

Paytm

3.2
Compare

Razorpay

3.6
Compare

Visa

3.5
Compare

MasterCard

3.9
Compare
write
Share an Interview