IBM vs Visa Interview Questions

IBM lists 115 LeetCode interview questions while Visa lists 146. They share 32 problems — 28% of IBM's bank and 22% of Visa's. Focus on the overlap first, then drill into 83 IBM-only and 114 Visa-only questions.

Read the full IBM vs Visa preparation guide →

Overview

IBM

115 questions

Easy 33Medium 73Hard 9
Visa

146 questions

Easy 32Medium 92Hard 22

Preparation Strategy

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

Step 2 — Company-specific depth: Add IBM-specific problems like Find the Smallest Divisor Given a Threshold, Gray Code, Integer to Roman and Visa-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
IBM
33
Visa
32
Medium
IBM
73
Visa
92
Hard
IBM
9
Visa
22

Top Shared Topics

32 Shared Questions

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

ProblemDifficulty
3SumMedium
Exclusive Time of FunctionsMedium
Best Time to Buy and Sell StockEasy
Two SumEasy
Meeting Rooms IIMedium
Rotate ImageMedium
Number of Divisible Triplet SumsMedium
Merge IntervalsMedium
Longest Substring Without Repeating CharactersMedium
Longest Common PrefixEasy
Valid ParenthesesEasy
Letter Combinations of a Phone NumberMedium
Minimum Suffix FlipsMedium
Longest Consecutive SequenceMedium
Longest Palindromic SubstringMedium
Merge Sorted ArrayEasy
Maximum SubarrayMedium
Spiral MatrixMedium
Group AnagramsMedium
Divide Players Into Teams of Equal SkillMedium
Trapping Rain WaterHard
Product of Array Except SelfMedium
Longest Increasing SubsequenceMedium
Subarray Sum Equals KMedium
Rotate ArrayMedium
Median of Two Sorted ArraysHard
Odd String DifferenceEasy
Gas StationMedium
Happy NumberEasy
Word BreakMedium

Showing top 30 of 32 shared problems.

Unique to IBM (83)

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

ProblemDifficulty
Find the Smallest Divisor Given a ThresholdMedium
Gray CodeMedium
Integer to RomanMedium
Minimum Operations to Make Columns Strictly IncreasingEasy
Fizz BuzzEasy
Roman to IntegerEasy
Count Ways to Group Overlapping RangesMedium
Minimum Absolute DifferenceEasy
Minimum Operations to Make All Array Elements EqualMedium
Find Pivot IndexEasy
Minimum Operations to Make Median of Array Equal to KMedium
The kth Factor of nMedium

Unique to Visa (114)

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

ProblemDifficulty
Text JustificationHard
Length of Longest V-Shaped Diagonal SegmentHard
Rotating the BoxMedium
Split the ArrayEasy
Minimum Operations to Write the Letter Y on a GridMedium
Find the Length of the Longest Common PrefixMedium
Block Placement QueriesHard
Create Target Array in the Given OrderEasy
Number of Black BlocksMedium
Simplify PathMedium
Number of Adjacent Elements With the Same ColorMedium
Maximum Number of Events That Can Be AttendedMedium

Frequently Asked Questions

How many LeetCode questions do IBM and Visa share?

IBM and Visa share 32 LeetCode interview questions. 83 problems appear only in IBM's list and 114 appear only in Visa's list.

What topics overlap most between IBM and Visa?

The most common shared topics between IBM and Visa are Array (23 shared questions), Hash Table (11 shared questions), String (9 shared questions), Two Pointers (8 shared questions), Sorting (6 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: IBM or Visa?

IBM has 33 Easy, 73 Medium, and 9 Hard questions. Visa has 32 Easy, 92 Medium, and 22 Hard questions. Visa has a higher proportion of Hard problems in its interview set.

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

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

Explore More