Visa vs X Interview Questions

Visa lists 146 LeetCode interview questions while X lists 51. They share 8 problems — 5% of Visa's bank and 16% of X's. Focus on the overlap first, then drill into 138 Visa-only and 43 X-only questions.

Overview

Visa

146 questions

Easy 32Medium 92Hard 22
X

51 questions

Easy 8Medium 31Hard 12

Preparation Strategy

Step 1 — Shared core: Solve the 8 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Visa and X.

Step 2 — Company-specific depth: Add Visa-specific problems like Text Justification, Length of Longest V-Shaped Diagonal Segment, Rotating the Box and X-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: X skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
Visa
32
X
8
Medium
Visa
92
X
31
Hard
Visa
22
X
12

Top Shared Topics

8 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Number of Black BlocksMedium
Merge IntervalsMedium
Trapping Rain WaterHard
Valid ParenthesesEasy
Reverse Linked ListEasy
Happy NumberEasy
Word Break IIHard

Unique to Visa (138)

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

ProblemDifficulty
Text JustificationHard
Length of Longest V-Shaped Diagonal SegmentHard
Rotating the BoxMedium
Two SumEasy
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

Unique to X (43)

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

ProblemDifficulty
Tweet Counts Per FrequencyMedium
Flatten Nested List IteratorMedium
Implement Trie (Prefix Tree)Medium
Insert Delete GetRandom O(1)Medium
Design TwitterMedium
Binary GapEasy
Regular Expression MatchingHard
Integer to RomanMedium
Alien DictionaryHard
Time Needed to Buy TicketsEasy
Max Points on a LineHard
Merge k Sorted ListsHard

Frequently Asked Questions

How many LeetCode questions do Visa and X share?

Visa and X share 8 LeetCode interview questions. 138 problems appear only in Visa's list and 43 appear only in X's list.

What topics overlap most between Visa and X?

The most common shared topics between Visa and X are Hash Table (4 shared questions), Array (4 shared questions), Linked List (2 shared questions), Two Pointers (2 shared questions), Dynamic Programming (2 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Visa or X?

Visa has 32 Easy, 92 Medium, and 22 Hard questions. X has 8 Easy, 31 Medium, and 12 Hard questions. X has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Visa and X?

Start with the 8 shared problems since they cover what both companies ask most often. Then add 20 Visa-specific and 20 X-specific questions to round out your prep.

Explore More