Visa vs Yahoo Interview Questions
Visa lists 146 LeetCode interview questions while Yahoo lists 34. They share 16 problems — 11% of Visa's bank and 47% of Yahoo's. Focus on the overlap first, then drill into 130 Visa-only and 18 Yahoo-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 16 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Visa and Yahoo.
Step 2 — Company-specific depth: Add Visa-specific problems like Text Justification, Length of Longest V-Shaped Diagonal Segment, Rotating the Box and Yahoo-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: Visa skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
16 Shared Questions
High-priority problems to practice for both Visa and Yahoo.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| LRU Cache | Medium |
| Valid Parentheses | Easy |
| Longest Common Prefix | Easy |
| Spiral Matrix | Medium |
| Reverse Linked List | Easy |
| Restore IP Addresses | Medium |
| Subarray Sum Equals K | Medium |
| Top K Frequent Elements | Medium |
| Median of Two Sorted Arrays | Hard |
| Find Peak Element | Medium |
| Contains Duplicate | Easy |
| Word Break | Medium |
| Word Search | Medium |
| Meeting Rooms II | Medium |
| Search in Rotated Sorted Array | Medium |
Unique to Visa (130)
Problems in Visa's list that do not appear at Yahoo.
Unique to Yahoo (18)
Problems in Yahoo's list that do not appear at Visa.
| Problem | Difficulty |
|---|---|
| Maximum Depth of Binary Tree | Easy |
| Serialize and Deserialize Binary Tree | Hard |
| Largest Palindrome Product | Hard |
| Roman to Integer | Easy |
| Linked List Cycle | Easy |
| Matrix Cells in Distance Order | Easy |
| Non-decreasing Subsequences | Medium |
| Maximum Distance in Arrays | Medium |
| Binary Number with Alternating Bits | Easy |
| Peeking Iterator | Medium |
| Combination Sum | Medium |
| Palindrome Number | Easy |
Frequently Asked Questions
How many LeetCode questions do Visa and Yahoo share?
Visa and Yahoo share 16 LeetCode interview questions. 130 problems appear only in Visa's list and 18 appear only in Yahoo's list.
What topics overlap most between Visa and Yahoo?
The most common shared topics between Visa and Yahoo are Array (12 shared questions), Hash Table (6 shared questions), String (5 shared questions), Sorting (3 shared questions), Binary Search (3 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Visa or Yahoo?
Visa has 32 Easy, 92 Medium, and 22 Hard questions. Yahoo has 11 Easy, 20 Medium, and 3 Hard questions. Visa has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Visa and Yahoo?
Start with the 16 shared problems since they cover what both companies ask most often. Then add 20 Visa-specific and 18 Yahoo-specific questions to round out your prep.