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. Given the head of a linked list, determine if the linked list has a cycle in it. There is a cycle in a linked list if there is some node in the list that can be reached again by continuously following the n...
Ans. 

Detecting loop in a linked list

  • Use two pointers, one moving one node at a time and the other moving two nodes at a time

  • If there is a loop, the two pointers will eventually meet

  • If any of the pointers reach the end of the list, there is no loop

A Software Engineer was asked
Q. Given an integer N, find the number of pairs (a, b, c, d) such that 1 <= a, b, c, d <= N and a^3 + b^3 = c^3 + d^3.
Ans. 

The question asks for the number of pairs between 1 and N that satisfy a specific mathematical relation.

  • The relation is pow(a,3) + pow(b,3) = pow(c,3) + pow(d,3)

  • The values of a, b, c, and d should be less than or equal to N

  • Count the number of pairs that satisfy the relation

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. How do you detect a cycle in a graph?
Ans. 

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

A Software Engineer was asked
Q. Write code for Depth-First Search (DFS).
Ans. 

DFS (Depth-First Search) is a graph traversal algorithm that explores as far as possible along each branch before backtracking.

  • DFS uses a stack to keep track of visited nodes and explore adjacent nodes.

  • It can be implemented recursively or iteratively.

  • DFS is useful for solving problems like finding connected components, detecting cycles, and solving mazes.

What people are saying about PayPal

View All
a business intelligence analyst
1d
Expedia -DS II Salary
Any idea about Expedia-Data Scientist II (Level K) salary?
Got a question about PayPal?
Ask anonymously on communities.
A Software Engineer was asked
Q. Explain Merge Sort.
Ans. 

Merge sort is a divide-and-conquer algorithm that recursively divides an array into two halves, sorts them, and then merges them.

  • Divide the array into two halves

  • Recursively sort each half

  • Merge the sorted halves back together

  • Repeat until the entire array is sorted

🔥 Asked by recruiter 2 times
A Software Engineer was asked
Q. What does PayPal do?
Ans. 

Paypal is a digital payment platform that allows individuals and businesses to make online transactions.

  • Paypal provides a secure way to send and receive money online.

  • It allows users to link their bank accounts, credit cards, or debit cards to their Paypal account.

  • Users can make payments to merchants or individuals using their Paypal balance or linked payment methods.

  • Paypal offers buyer and seller protection, dispu...

A Software Engineer was asked
Q. Write a program to reverse a singly linked list.
Ans. 

A program to reverse a singly linked list

  • Create a new empty linked list

  • Traverse the original linked list and insert each node at the beginning of the new list

  • Return the new list

Are these interview questions helpful?
A Software Engineer was asked
Q. Given a graph and a source vertex in the graph, find the shortest paths from the source to all vertices in the given graph using Dijkstra's algorithm.
Ans. 

Dijkstra's algorithm finds the shortest path between nodes in a graph.

  • Create a graph with nodes and edges

  • Assign a tentative distance to each node

  • Set the initial node as current and mark it visited

  • For each neighbor of the current node, calculate the tentative distance

  • If the tentative distance is less than the current distance, update the distance

  • Mark the current node as visited and select the unvisited node with th...

A Software Engineer was asked
Q. What methods can you suggest for finding the nth largest element in an unsorted linked list?
Ans. 

Methods to find nth largest element in an unsorted linked list

  • Traverse the linked list and store elements in an array, sort the array and return the nth largest element

  • Use quickselect algorithm to find the nth largest element in O(n) time complexity

  • Implement a max heap and extract the nth largest element

  • Divide the linked list into smaller sublists and recursively find the nth largest element

  • Use merge sort to sort ...

A Software Engineer was asked
Q. What are some test cases for a bank transaction?
Ans. 

Test cases for a bank transaction

  • Transaction amount within account balance limit

  • Transaction amount exceeds account balance limit

  • Transaction to a valid account number

  • Transaction to an invalid account number

  • Transaction with correct transaction code

  • Transaction with incorrect transaction code

  • Transaction during bank working hours

  • Transaction outside bank working hours

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 340 salaries
₹19.1 L/yr - ₹41.7 L/yr
231% more than the average Software Engineer Salary in India
View more details

PayPal Software Engineer Reviews and Ratings

based on 29 reviews

3.6/5

Rating in categories

3.1

Skill development

3.6

Work-life balance

3.7

Salary

2.7

Job security

3.5

Company culture

2.9

Promotions

3.1

Work satisfaction

Explore 29 Reviews and Ratings
Software Engineer2
344 salaries
unlock blur

₹22.2 L/yr - ₹40 L/yr

Software Engineer
340 salaries
unlock blur

₹19.1 L/yr - ₹41.7 L/yr

Senior Software Engineer
299 salaries
unlock blur

₹24 L/yr - ₹42 L/yr

Software Engineer III
281 salaries
unlock blur

₹30 L/yr - ₹51 L/yr

Data Scientist
267 salaries
unlock blur

₹28 L/yr - ₹50 L/yr

Explore more salaries
Compare PayPal with

Paytm

3.2
Compare

Razorpay

3.5
Compare

Visa

3.5
Compare

MasterCard

3.9
Compare
write
Share an Interview