PayPal interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

PayPal
upvote
share-icon
4 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: DSA, OOPS, Computer Networks, Operating Systems and DBMS
Tip
Tip

Tip 1 : Mention things properly on your resume 
Tip 2 : Have a good grasp of the fundamentals
Tip 3 : Daily devote 6 hours in problem solving

Application process
Where: Referral
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Mention things you know properly
Tip 2 : Mention at least 2 projects

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date14 Oct 2022
Coding problem2

1 coding question + 1 DBMS question + 2 MCQs

1. Count Even Odd

Easy
10m average time
95% success
0/40
Asked in companies
WalmartAdobePayPal

You have been given an array/list of integers 'ARR' of size 'N'. Your task is to find two things-

1. The number of elements that are occurring an Odd number of times.

2. The number of elements that are occurring Even a number of times.

For Example:
ARR = [2, 1, 2, 1, 5, 5, 2]    
Output: 1 2 

2 occurs three(odd) times.
1 occurs two(even) times.
5 occurs two(even) times.

So, the total 1 element is occurring an odd number of times and 2 elements are occurring an even number of times.
Try solving now

2. DBMS Question

SQL query to find second highest salary

Problem approach

Tip 1 : Do practice for genric problems of SQL queries
Tip 2 : Do nesting queries practice

02
Round
Medium
Face to Face
Duration60 minutes
Interview date29 Nov 2022
Coding problem2

1. Base Conversion

Easy
15m average time
85% success
0/40
Asked in companies
UberAdobePayPal

You are given a number ‘N’ as a string in base ‘B’. Your task is to convert ‘N’ in base 10. If it’s impossible to convert ‘N’ into base 10, then you need to print -1.

Note :

1. ‘N’ contains only digits ‘0’ to ‘9’ and English letters ‘A’ to ‘F’.
2. Decimal equivalent of 0 is 0, 1 is 1, . . .9 is 9, A is 10, B is 11, . . . F is 15.
Problem approach

1) Convert the number to base 26 representation, considering we have 0 also in the system
2) Change the representation to the one without having 0 in its system
3) Time Complexity: O(log26n), as we are using a loop and in each traversal, we decrement by floor division of 26.

Try solving now

2. Count Ways To Reach The N-th Stairs

Moderate
30m average time
80% success
0/80
Asked in companies
PayPalOYOMicrosoft

You have been given a number of stairs. Initially, you are at the 0th stair, and you need to reach the Nth stair.


Each time, you can climb either one step or two steps.


You are supposed to return the number of distinct ways you can climb from the 0th step to the Nth step.

Note:

Note: Since the number of ways can be very large, return the answer modulo 1000000007.
Example :
N=3

Example

We can climb one step at a time i.e. {(0, 1) ,(1, 2),(2,3)} or we can climb the first two-step and then one step i.e. {(0,2),(1, 3)} or we can climb first one step and then two step i.e. {(0,1), (1,3)}.
Problem approach

One can reach i th step in one of two ways:

Taking a single i-2 or taking i-1

So the total will be like this

dp[i]=dp[i−1]+dp[i−2]

Try solving now
03
Round
Hard
Face to Face
Duration60 minutes
Interview date29 Nov 2022
Coding problem1

1. 4 Sum II

Moderate
0/80
Asked in companies
Hewlett Packard EnterpriseUrban Company (UrbanClap)Amazon

You are given 4 arrays 'ARR1’, 'ARR2’, 'ARR3’, 'ARR4’, each consists of ‘N’ numbers. Your task is to return the number of tuples (i, j, k, l) satisfying the following conditions:

0 <= i,j,k,l < ‘N’
ARR1[i] + ARR2[j] + ARR3[k] + ARR4[l] = 0.
Problem approach

1) Sort the array and break the problem to 3 sum
2) Break the 3 sum to 2 sum 
3) Use two pointers to solve 2 sum

Try solving now
04
Round
Hard
Face to Face
Duration60 minutes
Interview date29 Nov 2022
Coding problem1

1. System Design

Design a compiler with your knowledge of engineering till now.

Problem approach

Tip 1 : Breakdown the problem 
Tip 2 : Ask questions to the interviewer
Tip 3 : Tell continuously what are you thinking

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by PayPal
4841 views
1 comments
0 upvotes
company logo
SDE - 1
4 rounds | 7 problems
Interviewed by PayPal
0 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 4 problems
Interviewed by PayPal
1789 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by PayPal
1683 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57824 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes