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.

Read the full Visa vs Yahoo preparation guide →

Overview

Visa

146 questions

Easy 32Medium 92Hard 22
Yahoo

34 questions

Easy 11Medium 20Hard 3

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

Easy
Visa
32
Yahoo
11
Medium
Visa
92
Yahoo
20
Hard
Visa
22
Yahoo
3

Top Shared Topics

16 Shared Questions

High-priority problems to practice for both Visa and Yahoo.

ProblemDifficulty
Two SumEasy
LRU CacheMedium
Valid ParenthesesEasy
Longest Common PrefixEasy
Spiral MatrixMedium
Reverse Linked ListEasy
Restore IP AddressesMedium
Subarray Sum Equals KMedium
Top K Frequent ElementsMedium
Median of Two Sorted ArraysHard
Find Peak ElementMedium
Contains DuplicateEasy
Word BreakMedium
Word SearchMedium
Meeting Rooms IIMedium
Search in Rotated Sorted ArrayMedium

Unique to Visa (130)

Problems in Visa's list that do not appear at Yahoo.

ProblemDifficulty
Text JustificationHard
Length of Longest V-Shaped Diagonal SegmentHard
Rotating the BoxMedium
Split the ArrayEasy
3SumMedium
Longest Substring Without Repeating CharactersMedium
Minimum Operations to Write the Letter Y on a GridMedium
Find the Length of the Longest Common PrefixMedium
Best Time to Buy and Sell StockEasy
Block Placement QueriesHard
Create Target Array in the Given OrderEasy
Number of Black BlocksMedium

Unique to Yahoo (18)

Problems in Yahoo's list that do not appear at Visa.

ProblemDifficulty
Maximum Depth of Binary TreeEasy
Serialize and Deserialize Binary TreeHard
Largest Palindrome ProductHard
Roman to IntegerEasy
Linked List CycleEasy
Matrix Cells in Distance OrderEasy
Non-decreasing SubsequencesMedium
Maximum Distance in ArraysMedium
Binary Number with Alternating BitsEasy
Peeking IteratorMedium
Combination SumMedium
Palindrome NumberEasy

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.

Explore More