PayPal Coding Interview Questions
25 PayPal coding interview problems with full optimal solutions — 16 easy, 6 medium, 3 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an PayPal interviewer values, and a FAQ section.
Showing 2 problems of 25
- #19mediumsometimes asked
19. Container With Most Water
Find two vertical lines that together with the x-axis form a container holding the most water. PayPal uses this two-pointer classic to test greedy reasoning and candidates' ability to prove why a pointer-shrink strategy is optimal — a proof skill valued in financial algorithm design.
- #21mediumsometimes asked
21. Group Anagrams
Group strings that are anagrams of each other into arrays. PayPal uses this hash-map grouping problem to evaluate key normalization skills — a pattern that appears in transaction deduplication and merchant category clustering in payment systems.
Related interview-prep guides
Codility for Tech Interviews in 2026: The Complete Guide for Candidates
Codility is the dominant algorithmic-assessment platform across European tech hiring. Heavy in the UK, Germany, Netherlands, Nordics, and Poland where the company was founded. It scores candidates on both correctness and time complexity, runs 60-to-120-minute timed tests, and ships three products: Tests, CodeCheck, and CodeLive. This guide is what 2026 candidates need to know.