0 day streak

PayPal coding interview questions

FintechProduct India Bar raiser

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +49 Solve
Zigzag ConversionSimulation Medium Arrays & Hashing Zoho Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +46 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +50 Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +45 Solve
Minimum Absolute DifferenceGreedy Easy Arrays & Hashing JPMorgan Chase, Walmart Global Tech, Cognizant Solve
Longest Increasing Subsequence1D DP Medium Dynamic Programming Google, Atlassian, Goldman Sachs +9 Solve
Maximal SquareSquares Medium Dynamic Programming Google, Airbnb, VMware by Broadcom +2 Solve
Word Search2D Matrix Backtracking Medium Recursion & Backtracking Google, Microsoft, Meta +13 Solve
Product of Array Except SelfRight to Left Traversal Medium Arrays & Hashing Microsoft, Meta, Apple +13 Solve
Coin ChangeKnapsack Medium Dynamic Programming Google, Microsoft, Apple +18 Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +41 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +31 Solve
Find Median from Data StreamAdvanced Hard Heaps Google, Amazon, Apple +14 Solve
Search in Rotated Sorted ArrayRotated Array Medium Binary Search Microsoft, Apple, LinkedIn +18 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +38 Solve
Maximum Number of Events That Can Be AttendedAdvanced Medium Heaps Snowflake, Visa Solve
Last Stone WeightTop K / Kth Largest / Smallest Easy Heaps Nvidia Solve
Asteroid CollisionStack Basics Medium Stack Amazon, Nvidia, DoorDash +10 Solve
LFU CacheLinked Lists Hard Design Data Structures Amazon, Apple, Netflix +10 Solve
Valid SudokuHashing Medium Arrays & Hashing Zoho Solve
Valid ParenthesesStack Basics Easy Stack Google, Microsoft, Meta +39 Solve
Top K Frequent ElementsComposite comparator Medium Heaps Google, Amazon, Apple +16 Solve
Subarray Sum Equals KPrefix Sum Strategy Medium Arrays & Hashing Google, Microsoft, Meta +15 Solve
House RobberAlternate Selection / Pick / Not pick Medium Dynamic Programming Airbnb, Nvidia, Databricks +13 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Microsoft, Apple, LinkedIn +29 Solve
Random Pick with WeightBasics Medium Binary Search Google, Amazon, Meta +5 Solve
Find Peak ElementUnique 1-D Binary Search Medium Binary Search Meta, Netflix, Samsung +4 Solve
Spiral MatrixMatrix Traversal Medium Arrays & Hashing Microsoft, Apple, Databricks +15 Solve
Longest Consecutive SequenceHash Set Lookup Medium Arrays & Hashing Google, Bloomberg, Spotify +17 Solve
Median of Two Sorted ArraysBinary Search on Partition Hard Binary Search Google, Amazon, Microsoft +17 Solve
Trapping Rain WaterTwo Pointer Hard Arrays & Hashing Google, Amazon, Microsoft +38 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Microsoft, Meta +31 Solve
Container With Most WaterTwo Pointer Medium Arrays & Hashing Google, Microsoft, Apple +31 Solve
Find First and Last Position of Element in Sorted ArrayBisect Medium Binary Search LinkedIn, Bloomberg, Pinterest +7 Solve
Sort ColorsDutch National Flag Medium Arrays & Hashing Microsoft, Nvidia, Morgan Stanley +12 Solve
Kth Largest Element in an ArrayTop K / Kth Largest / Smallest Medium Heaps Meta, Apple, Netflix +14 Solve
Gas StationKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Adobe +4 Solve
Contiguous ArrayPrefix Sum Strategy Medium Arrays & Hashing Cisco, Morgan Stanley, Tower Research Capital +1 Solve
Delete Node in a Linked ListMiscellaneous Medium Linked List Paytm, Freshworks, Ola Solve
Remove All Adjacent Duplicates in String IIStack Basics Medium Stack Amazon, Spotify, Goldman Sachs +2 Solve
Validate Binary Search TreePostorder + Multiple Return Values Medium Trees & BST Google, Microsoft, Meta +6 Solve
Text JustificationSimulation Hard Arrays & Hashing Google, Microsoft, Airbnb +6 Solve
Design TwitterMerge K Sorted Medium Heaps Amazon, Swiggy, Meesho Solve
Also reported, being added to AlgoRung (4)

Find Words That Can Be Formed by Characters · Count Vowel Strings in Ranges · Meeting Scheduler · Find the Smallest Divisor Given a Threshold

Questions people ask

What coding questions does PayPal ask most?

LRU Cache, Zigzag Conversion, Two Sum, Longest Substring Without Repeating Characters, Merge Intervals, Minimum Absolute Difference, Longest Increasing Subsequence, Maximal Square.

Which topics come up in PayPal coding rounds?

heaps, binary search, sliding window, dynamic programming, graphs, strings.

How hard are PayPal coding questions?

Of the reported questions, 5 are easy, 34 medium and 5 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.