PayPal Coding Interview Questions
- See the shape of PayPal's coding loop, from the HackerRank OA and the Karat screen many teams use to the onsite
- Know the real bar: easy-to-medium problems, graded on efficiency, clean Java and edge cases
- Prepare for the object-oriented money-modeling round, where money is cents or BigDecimal, never a float
- Map the pattern-family weights onto the five coding lessons in this section
PayPal runs a coding loop that most engineers come away calling standard and fair rather than a gauntlet. The company is a large, older public payments business, and the interview has the feel of one: fundamentals-heavy, process-heavy, and capped around LeetCode-medium. If you have prepared a clean medium ladder for any strong engineering bar, you are most of the way there. The reputation is explicitly "not too hard" on raw algorithms. What sets PayPal apart is a different kind of rigor, and knowing where it lives is most of the preparation.
Here is the loop end to end. A recruiter screen opens it, then a HackerRank online assessment that blends Java and OOP, a little SQL, and a few easy-to-medium coding problems. Many teams route the live phone screen through Karat, PayPal's third-party interview vendor, which starts with a volley of rapid-fire CS-trivia questions and then moves to one coding problem that keeps layering on extensions. The virtual onsite that follows runs on Microsoft Teams and has somewhere around four to six rounds. Expect two coding rounds, a payments-flavored system design, a project deep-dive, a behavioral round, and a hiring-manager round that carries real weight. The process is famously slow, weeks on the fast end and up to a couple of months.
The Rounds
The exact rounds shift by team, level, and geography, so read the stages below as the shape rather than a fixed script. The specifics come from candidate reports, since PayPal publishes none, and the loop is inconsistent. Matching several internal teams can multiply the rounds. One senior candidate reported eight rounds across twelve weeks. What stays constant is where the coding signal comes from and what it rewards.
- Online assessment: HackerRank, ~60 to 90 min. Java and OOP, some basic SQL, and two to four easy-to-medium coding problems. Common for new-grad and SDE I and II pipelines, though experienced candidates sometimes skip straight to the phone screen. The prompts read competitive-style, and hidden tests are aimed at the boundaries, so it can feel trickier than its billing.
- Phone screen: Often a Karat interview. For many teams the live screen runs through Karat, PayPal's interview vendor. It opens with ten to fifteen rapid-fire CS-trivia questions on Big-O, consistency, HTTP, threading and SQL. Then comes one coding problem that starts simple and stacks two to four extensions. Talk and type continuously, because going silent is penalized directly.
- Virtual onsite: 4 to 6 rounds on Teams. Two coding rounds, one classic algorithms and one object-oriented that models money. Then a payments-flavored system design, a project deep-dive, a behavioral round, and a hiring-manager round that carries real weight and mixes design talk with a resume walk.
- Graded on: Clean code, edges, precision. A correct, readable, edge-complete solution first, then an optimization pass once it runs, since candidates report optimality is expected the moment the code works. In the money round, cents or BigDecimal over floats, and immutability where it belongs.
The Signature Surface
Underneath the format, the pattern mix is a broad, standard medium base with two things layered on top: a Java and OOP lens, and a light fintech skin over the prompts. Be honest with yourself about what this section is not. There is no single iconic PayPal problem to grind, the way some loops have one. The personality is the object-oriented money-modeling strand and the HackerRank-plus-Karat format, not a fixed puzzle. The families below are the recurring shapes, and the two the loop leans on hardest carry the personality: the arrays-and-hashing base, and the OO design round that is the real differentiator.
Where the Weight Sits
The chart splits the recurring coding problems across the families PayPal draws from. PayPal publishes none of this, so the ordering leans on candidate reports and company-tagged problem sets rather than an official roster. Read it as where your first hours go. The tilt toward the first two bars is what matters: the arrays-and-hashing workhorse that carries the screen and the OA, and the OO design round that is the PayPal-shaped thing in the loop.
The Difficulty, Honestly
The median PayPal problem is a medium, and about two-thirds of the problems candidates report sit right there, with a light band of easy warm-ups and a thin tail of hard. Vendor and candidate consensus puts the bar around a six and a half out of ten, below Google and Meta on pure algorithms. The extra rigor does not come from exotic data structures, it comes from OO modeling and money-correctness discipline; one caveat: the HackerRank OA can feel harder than its easy-to-medium billing. The prompts skew competitive-style and the hidden tests target boundaries, so candidates routinely clear only a fraction of the cases. Java dominates the core platform and modern idiom is rewarded. Python covers backend and ML work, and JavaScript, TypeScript, or Go show up on newer services; you generally pick your own language for the algorithm rounds, while the OO round leans Java. PayPal publishes none of this; the ordering above reflects how often each shape comes up in candidate reports.
Five lessons follow. They open with the two families that carry the loop, the arrays-and-hashing spine and the OO money-modeling round. Then they work the standard remainder: linked lists, trees and graphs with search, and a bundled strings-math-and-intervals tail. Each one opens with how PayPal frames the family, then works the recurring problems in the payments domain, with the clean-code and money-precision accent the interviewer layers on top. Where a lesson rests on a base algorithm, the full build lives in the free Foundations course, so these pages stay on what is specifically PayPal.
Arrays, Strings & Hashing
The dominant warm-up spine, and the substrate under most of the OA. Frequency-counting and grouping transactions by item, the anagram and two-sum families, and prefix-sum spans, framed on transaction and receipt data. Clean, runnable, edge-complete code is the ask. Start here.
OO Design & Money-Modeling
The differentiator, and the round that makes a PayPal loop feel like PayPal. Model a small system of classes. That might be a payment or transaction with its refund and chargeback states, a parking lot, an a Premium question, or a Premium question. Carry every amount as a count of cents or a BigDecimal, never a floating-point value. Clean modern-Java OOP and precision discipline are what the round grades.
Linked Lists & Pointers
Over-indexed here versus a typical FAANG loop. Reverse a list, reverse nodes in k-group, cycle detection with fast and slow pointers, merge two lists, and the O(1) insert-and-delete structures that shade into the design round.
Trees, Graphs & Search
Trees and BFS or DFS, binary search, and a band of graphs. Right-side view and level-order traversal, search in a rotated array, plus connected-components framed as fraud-ring detection. Standard traversals worn in the payments skin.
Strings, Math & Intervals
The tail, bundled so the ladder is complete. String to Integer parsing an a Premium question, a Premium question for exact big-number and fixed-point money math, and a Premium question as a sweep-line peak-overlap problem, plus a thin band of DP. Breadth to clear cleanly, not a PayPal specialty.
Common questions
What coding questions does PayPal ask?
PayPal leans on a standard easy-to-medium spine with a payments accent. Arrays, strings, and hashing carry the online assessment and the first coding round, with frequency counts, grouping transactions by item, and the two-sum and prefix-sum families. Its signature is an object-oriented round that models a transaction with its refund and chargeback states, an account and its balances, or a Premium question, with money held as integer cents or a BigDecimal. Linked lists show up more than at a typical FAANG loop, and trees, graphs, binary search, and a thin band of intervals and dynamic programming fill out the breadth.
What is on the PayPal HackerRank online assessment?
The PayPal online assessment runs on HackerRank and lasts roughly sixty to ninety minutes. It blends Java and OOP, some basic SQL, and two to four easy-to-medium coding problems. It is common for new-grad and SDE I and II pipelines, though experienced candidates sometimes skip straight to the phone screen. The catch is that the prompts read competitive-style and the hidden tests aim at the boundaries. The OA can feel trickier than its easy-to-medium billing, and candidates routinely clear only a fraction of the cases. Prepare edge cases first: the empty input, the duplicate, the overflow, the negative amount.
What is the PayPal Karat interview?
Karat is the third-party vendor that runs many of PayPal's technical phone screens. A Karat round opens with ten to fifteen rapid-fire computer-science questions on Big-O, HTTP, threading, consistency, and SQL, then moves to one coding problem that starts simple and keeps stacking two to four extensions. The layered problem is really a test of whether your first solution was structured to extend, so narrate continuously, because going silent is penalized directly.
Does PayPal use LeetCode or HackerRank?
Both, in different stages. The online assessment runs on HackerRank, with prompts that read competitive-style and hidden tests aimed at the boundaries. The live rounds are LeetCode-style and capped around medium, and you generally pick your own language, though the object-oriented money-modeling round leans Java.
Is the PayPal coding interview hard?
The median problem is a medium, and the consensus bar sits around six and a half out of ten, below Google and Meta on pure algorithms. The rigor comes from money-correctness and clean object-oriented modeling rather than exotic data structures. The one thing candidates underestimate is the HackerRank assessment, which can feel harder than its billing because the hidden tests target edge cases.
Key Takeaways
- ✓PayPal runs a standard, fair, easy-to-medium loop. It starts with a HackerRank OA that blends Java and OOP, SQL, and coding. Often a Karat phone screen follows, opening with rapid-fire trivia before a layered problem. The virtual onsite has two coding rounds, a payments system design, a project deep-dive, a behavioral round, and a heavily weighted hiring-manager round.
- ✓The differentiator is the object-oriented money-modeling round. You model transactions and currency in clean modern-Java classes, with amounts stored as exact cents or a BigDecimal. Never use a float, because a money-handling mistake is treated as disqualifying.
- ✓Code is graded on efficiency, clean readable structure, and edge cases, a correct and edge-complete solution first, then an optimization pass. About two-thirds of reported problems sit at medium, below Google and Meta on pure algorithms, with Java the dominant language and the OA sometimes trickier than its billing.
- ✓Five lessons follow, led by the arrays-and-hashing spine and the OO money-modeling round, then linked lists, trees and graphs with search, and a bundled strings-math-and-intervals tail. The frequencies here are directional, drawn from candidate reports, never published counts.
PayPal interview guideKnow what PayPal asks before you walk in.
15 coding · 5 system design · 24 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.