Visa Interview Prep

Visa is not a payments product, it is the network underneath them. That distinction drives the whole design round. You are not designing a checkout page; you are designing the path a message takes from an acquirer to an issuer and back inside a latency budget, while a fraud score is computed inline, with no acceptable maintenance window at either end.

The coding rounds themselves are moderate — medium-level DSA, often in Java, frequently with SQL alongside. The separator is whether you think in terms of budgets and guarantees. Strong candidates state the latency budget and spend it across hops, say what happens when the issuer is unreachable instead of assuming it never is, and treat message formats and backward compatibility as design concerns rather than implementation details.


Interview Process

Stage Duration Focus
Online Assessment 60-90 min Coding on HackerRank or CodeSignal, sometimes SQL
Recruiter Screen 30 min Background, level, business unit
Technical Screen 45-60 min Live coding plus language fundamentals
Onsite: Coding 1 45-60 min DSA, medium
Onsite: Coding 2 / Fundamentals 45-60 min DSA, SQL, concurrency, Java internals
Onsite: System Design 60 min Transaction processing at network scale
Hiring Manager / Behavioural 45-60 min Projects, reliability mindset, team fit

Visa hires into many independent business units — processing and products technology, risk and identity, developer platform, core infrastructure — and the round list varies between them. Two things recur across reports regardless of unit: Java and SQL questions in the technical rounds, and a design round graded on reliability and latency rather than feature breadth. Some loops add an architecture conversation at senior level in place of a second coding round.


What Visa Actually Tests

Derived from 145 reported Visa-tagged problems. Difficulty mix:

Difficulty Count Share
Easy 32 22%
Medium 91 63%
Hard 22 15%

Hard problems are a real but minority share. Medium fluency wins most rounds; Hard shows up late in the loop.

Where those problems fall by pattern:

Rank Pattern Problems Share of list
1 Dynamic Programming 27 19%
2 Arrays & Hashing 26 18%
3 Sliding Window & Two Pointers 17 12%
4 Trees 10 7%
5 Intervals, Greedy & Sorting 10 7%
6 Heap / Priority Queue 10 7%
7 Strings 8 6%
8 Tries & String Search 8 6%
9 Graphs 6 4%
10 Stack & Monotonic Stack 5 3%

Visa Signature Problems

These rank high on Visa’s list but are reported by few other companies — the questions that are distinctively theirs rather than generic interview classics. The last column is how many of the 142 companies on this site report each one.

# Problem Pattern Difficulty Also asked at Link
1 Length of Longest V-Shaped Diagonal Segment Memoization + DP Hard 5 of 142 LeetCode →
2 Rotating the Box Two Pointers Medium 8 of 142 LeetCode →
3 Minimum Operations to Write the Letter Y on a Grid Counting + Matrix Medium 6 of 142 LeetCode →
4 Split the Array Counting + Hash Table Easy 4 of 142 LeetCode →
5 Number of Black Blocks Enumeration + Hash Table Medium 7 of 142 LeetCode →
6 Create Target Array in the Given Order Simulation + Array Easy 4 of 142 LeetCode →
7 Number of Adjacent Elements With the Same Color Array Medium 7 of 142 LeetCode →
8 Match Alphanumerical Pattern in Matrix I Matrix + Hash Table Medium 2 of 142 LeetCode →
9 Count Nodes With the Highest Score DP on Trees + Binary Tree Medium 3 of 142 LeetCode →
10 Odd String Difference Hash Table + String Easy 4 of 142 LeetCode →
11 Number of Divisible Triplet Sums Hash Table + Array Medium 7 of 142 Solve →
12 Two Furthest Houses With Different Colors Greedy Easy 5 of 142 LeetCode →
13 Divisor Game Impartial Game + Brainteaser Easy 6 of 142 LeetCode →
14 Grid Teleportation Traversal BFS Medium 3 of 142 LeetCode →

If you are short on time, these carry more Visa-specific signal per hour than the universal top-100 lists.


Reported in the Last Six Months

The recency-filtered slice of Visa’s list, ranked by how often each was reported. Expect heavy overlap with the all-time classics — that overlap is the point, it means these stay in rotation.

# Problem Pattern Difficulty Link
1 Beautiful Arrangement Bitmask + Backtracking Medium LeetCode →
2 Count Palindromic Subsequences DP Hard Solve →
3 Exclusive Time of Functions Stack Medium LeetCode →
4 Number of Divisible Triplet Sums Hash Table + Array Medium Solve →
5 Longest Substring Without Repeating Characters Sliding Window Medium Solve →
6 Maximum OR Bit Manipulation + Prefix Sum Medium LeetCode →
7 Merge Intervals Quicksort Medium Solve →
8 Minimum Number of Swaps to Make the String Balanced Bracket Sequences + Stack Medium Solve →
9 Count Ways To Build Good Strings DP Medium LeetCode →
10 Divide Players Into Teams of Equal Skill Two Pointers Medium LeetCode →
11 Find the Length of the Longest Common Prefix Trie Medium Solve →
12 Number of Islands Union-Find + BFS Medium Solve →
13 3Sum Two Pointers Medium Solve →
14 Group Anagrams Sorting + Hash Table Medium Solve →
15 Longest Palindromic Substring Manacher + Two Pointers Medium Solve →

System Design (HLD) Problems Asked at Visa

# Problem Difficulty Link
1 Payment System (Authorisation Path) Advanced Read →
2 Rules Engine (Fraud Screening and Decisioning) Intermediate Read →
3 Digital Wallet (Tokenised Credentials) Advanced Read →
4 Message Queue Advanced Read →
5 Distributed Cache Intermediate Read →
6 Distributed Key-Value Store Advanced Read →
7 Distributed Job Scheduler (Clearing and Settlement Runs) Advanced Read →
8 Unique ID Generator (Transaction References) Beginner Read →
9 Rate Limiter (Client API Quotas) Beginner Read →
10 Metrics and Monitoring System Intermediate Read →

LLD / Machine Coding Problems Asked at Visa

Some loops include a component design round instead of, or before, full system design. Expect thread safety, bounded latency, and clean interfaces on something small enough to code.

# Problem Difficulty Link
1 Payment Wallet Intermediate Read →
2 Queue Management Intermediate Read →
3 Rate Limiter Intermediate Read →
4 Order Management System Intermediate Read →
5 Multilevel Cache Intermediate Read →

DSA Problems Asked at Visa

79 problems across 12 pattern groups. Each group is allocated in proportion to its real share of Visa’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.

Arrays & Hashing

Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. Showing the top 14 of 20 on the list.

# Problem Pattern Difficulty Link
1 Two Sum Hash Table + Array Easy Solve →
2 Minimum Operations to Write the Letter Y on a Grid Counting + Matrix Medium LeetCode →
3 Split the Array Counting + Hash Table Easy LeetCode →
4 Number of Black Blocks Enumeration + Hash Table Medium LeetCode →
5 Create Target Array in the Given Order Simulation + Array Easy LeetCode →
6 Number of Adjacent Elements With the Same Color Array Medium LeetCode →
7 Number of Divisible Triplet Sums Hash Table + Array Medium Solve →
8 Grid Teleportation Traversal BFS Medium LeetCode →
9 Rotate Image Matrix + Math Medium Solve →
10 Spiral Matrix Simulation + Matrix Medium Solve →
11 Subarray Sum Equals K Prefix Sum Medium Solve →
12 Matrix Block Sum Prefix Sum Medium LeetCode →
13 Check If Array Pairs Are Divisible by k Counting + Hash Table Medium LeetCode →
14 Image Smoother Matrix + Array Easy LeetCode →

Dynamic Programming

State definition is the whole battle. Say the recurrence out loud before you write the table. All 14 on the list.

# Problem Pattern Difficulty Link
15 Length of Longest V-Shaped Diagonal Segment Memoization + DP Hard LeetCode →
16 Best Time to Buy and Sell Stock DP Easy Solve →
17 Divisor Game Impartial Game + Brainteaser Easy LeetCode →
18 Maximum Subarray Divide and Conquer + DP Medium Solve →
19 Trapping Rain Water Monotonic Stack + Two Pointers Hard Solve →
20 Beautiful Arrangement Bitmask + Backtracking Medium LeetCode →
21 Count Palindromic Subsequences DP Hard Solve →
22 Longest Valid Parentheses Bracket Sequences + Stack Hard Solve →
23 Minimum Cost Path with Teleportations DP Hard LeetCode →
24 Best Time to Buy and Sell Stock II Greedy + DP Medium Solve →
25 Count Ways To Build Good Strings DP Medium LeetCode →
26 Palindrome Partitioning Backtracking + DP Medium Solve →
27 Best Time to Buy and Sell Stock III DP Hard Solve →
28 Best Time to Buy and Sell Stock IV DP Hard Solve →

Sliding Window & Two Pointers

Linear-time scans over arrays and strings. High volume, low variance — these should be automatic. All 11 on the list.

# Problem Pattern Difficulty Link
29 Rotating the Box Two Pointers Medium LeetCode →
30 Longest Substring Without Repeating Characters Sliding Window Medium Solve →
31 3Sum Two Pointers Medium Solve →
32 Divide Players Into Teams of Equal Skill Two Pointers Medium LeetCode →
33 Container With Most Water Greedy + Two Pointers Medium Solve →
34 Minimum Number of Swaps to Make the String Balanced Bracket Sequences + Stack Medium Solve →
35 Number of Perfect Pairs Two Pointers Medium LeetCode →
36 Sort Colors Bubble Sort + Quicksort Medium Solve →
37 Best Time to Buy and Sell Stock using Strategy Sliding Window + Prefix Sum Medium LeetCode →
38 Candy Crush Two Pointers Medium Solve →
39 Happy Number Floyd Cycle + Two Pointers Easy Solve →

Trees

Recursion discipline: what you return up, what you pass down. Follow-ups usually push from recursive to iterative. All 7 on the list.

# Problem Pattern Difficulty Link
40 Block Placement Queries Fenwick Tree + Segment Tree Hard LeetCode →
41 Largest Rectangle in Histogram Range Query + Monotonic Stack Hard Solve →
42 Count Nodes With the Highest Score DP on Trees + Binary Tree Medium LeetCode →
43 Maximum Sum of Alternating Subsequence With Distance at Least K Segment Tree + DP Hard LeetCode →
44 Balanced Binary Tree Binary Tree + DFS Easy Solve →
45 Diameter of Binary Tree DP on Trees + Binary Tree Easy Solve →
46 Binary Tree Level Order Traversal Binary Tree + BFS Medium Solve →

Intervals, Greedy & Sorting

Sort, then make a local decision you can defend. Expect to justify why greedy is safe here. All 7 on the list.

# Problem Pattern Difficulty Link
47 Merge Intervals Quicksort Medium Solve →
48 Earliest Possible Day of Full Bloom Greedy Hard LeetCode →
49 Two Furthest Houses With Different Colors Greedy Easy LeetCode →
50 Gas Station Greedy Medium Solve →
51 Maximum OR Bit Manipulation + Prefix Sum Medium LeetCode →
52 Brightest Position on Street Ordered Set + Prefix Sum Medium Solve →
53 Candy Greedy Hard Solve →

Strings

Parsing, transformation, and in-place edits. Clarify the character set and whitespace rules before you start. All 7 on the list.

# Problem Pattern Difficulty Link
54 Text Justification Simulation + String Hard Solve →
55 Group Anagrams Sorting + Hash Table Medium Solve →
56 Match Alphanumerical Pattern in Matrix I Matrix + Hash Table Medium LeetCode →
57 Odd String Difference Hash Table + String Easy LeetCode →
58 Minimum Time Difference Math + Sorting Medium LeetCode →
59 Number of Changing Keys String Easy LeetCode →
60 Add Strings Simulation + Math Easy Solve →

Prefix structures and substring matching. Common wherever autocomplete or search is part of the product. All 4 on the list.

# Problem Pattern Difficulty Link
61 Find the Length of the Longest Common Prefix Trie Medium Solve →
62 Longest Palindromic Substring Manacher + Two Pointers Medium Solve →
63 Longest Common Prefix Trie Easy Solve →
64 Number of Matching Subsequences Trie + Binary Search Medium LeetCode →

Heap / Priority Queue

Top-k, streaming medians, and scheduling. Usually the difference between a passing and a timing-out solution. All 4 on the list.

# Problem Pattern Difficulty Link
65 Maximum Number of Events That Can Be Attended Heap + Greedy Medium Solve →
66 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit Monotonic Queue + Ordered Set Medium Solve →
67 Top K Frequent Elements Quickselect + Bucket Sort Medium Solve →
68 Sell Diminishing-Valued Colored Balls Heap + Binary Search Medium LeetCode →

Graphs

Traversal, connectivity, ordering, and shortest paths. The hardest bucket to fake — either you have drilled it or you have not. All 3 on the list.

# Problem Pattern Difficulty Link
69 Number of Islands Union-Find + BFS Medium Solve →
70 Word Ladder Bidirectional Search + BFS Hard Solve →
71 Course Schedule DAG + Topological Sort Medium Solve →

Design (Coding)

Build a data structure to a spec. Graded on API shape and the complexity of each operation, not just correctness. All 3 on the list.

# Problem Pattern Difficulty Link
72 LRU Cache Doubly Linked List + Design Medium Solve →
73 Find Median from Data Stream Data Stream + Design Hard Solve →
74 Design Memory Allocator Design Medium LeetCode →

Stack & Monotonic Stack

Nearest-greater, parsing, and span problems. The monotonic variant is the one people miss. All 3 on the list.

# Problem Pattern Difficulty Link
75 Simplify Path Stack Medium Solve →
76 Valid Parentheses Bracket Sequences + Stack Easy Solve →
77 Exclusive Time of Functions Stack Medium LeetCode →

Half of these are binary search on the answer, not on an array. Learn to spot the monotonic predicate. All 2 on the list.

# Problem Pattern Difficulty Link
78 Minimum Absolute Difference Between Elements With Constraint Ordered Set + Binary Search Medium LeetCode →
79 Capacity To Ship Packages Within D Days Binary Search Medium Solve →

Visa’s Favourite Patterns (Ranked)

Rank Pattern Frequency Problems on list Start with
1 Arrays & Hashing Very High 20 (22%) Two Sum, Minimum Operations to Write the Letter Y on a Grid, Split the Array
2 Dynamic Programming High 14 (16%) Length of Longest V-Shaped Diagonal Segment, Best Time to Buy and Sell Stock, Divisor Game
3 Sliding Window & Two Pointers High 11 (12%) Rotating the Box, Longest Substring Without Repeating Characters, 3Sum
4 Trees Medium-High 7 (8%) Block Placement Queries, Largest Rectangle in Histogram, Count Nodes With the Highest Score
5 Intervals, Greedy & Sorting Medium-High 7 (8%) Merge Intervals, Earliest Possible Day of Full Bloom, Two Furthest Houses With Different Colors
6 Strings Medium-High 7 (8%) Text Justification, Group Anagrams, Match Alphanumerical Pattern in Matrix I
7 Tries & String Search Medium 4 (4%) Find the Length of the Longest Common Prefix, Longest Palindromic Substring, Longest Common Prefix
8 Heap / Priority Queue Medium 4 (4%) Maximum Number of Events That Can Be Attended, Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit, Top K Frequent Elements
9 Graphs Medium 3 (3%) Number of Islands, Word Ladder, Course Schedule
10 Design (Coding) Medium 3 (3%) LRU Cache, Find Median from Data Stream, Design Memory Allocator

How to read this: the top three rows are where your preparation hours should go. A candidate fluent in Arrays & Hashing, Dynamic Programming, Sliding Window & Two Pointers covers the bulk of what Visa actually asks. The rest is insurance for the one round that goes somewhere unexpected.


Authorisation, Clearing, Settlement: Three Different Systems

Candidates who treat a card transaction as one flow lose the design round. It is three systems with different clocks and different guarantees, and naming that split early earns you the rest of the hour.

Stage What happens Timing Consistency need What the interviewer probes
Authorisation Acquirer asks the issuer whether the transaction is allowed; funds are held, not moved Interactive, inside a strict budget Strong on the balance or limit decision Latency allocation, timeouts, what you do when the issuer does not answer
Clearing Transaction records are exchanged and matched between acquirer and issuer Batched, periodic Exactly-once record handling Idempotent file and record ingestion, duplicate detection, late arrivals
Settlement Actual funds move between institutions Scheduled, with cut-off times Strong, with a full audit trail Cut-off handling, reversals, invariant checks between stages

Two follow-ups come up often. First, what happens when an authorisation succeeded but never cleared, or cleared without an authorisation on record — the answer is a matching process plus an exception queue, not a tighter transaction. Second, how holds expire, because an authorisation that never clears cannot pin a customer’s available balance forever.


Visa Is Not PayPal: What Changes in the Design Round

Both are payments, and preparing for one as though it were the other is the most common mistake candidates make across these two loops.

Dimension Product-side payments (PayPal style) Network-side payments (Visa style)
Who the client is Consumers and merchants calling your API Banks, acquirers, and processors speaking a fixed message protocol
Design centre of gravity Wallet balances, merchant onboarding, webhooks, checkout flows Authorisation routing, inline scoring, clearing files, settlement windows
Latency framing Keep the user experience snappy A hard budget per hop with a defined action on breach
Availability framing High availability with a degradation story Continuous availability with no maintenance window and stand-in behaviour
Interface evolution Versioned REST APIs you control Standard message formats you cannot change unilaterally, with endpoints you cannot force to upgrade
Correctness worry Idempotent requests and ledger balances Record matching across stages, reversals, and settlement invariants
Scale shape Spiky, driven by consumer behaviour Sustained and seasonally peaked, with a known worst day you must survive

If a Visa interviewer asks you to “design a payment system”, resolve the ambiguity in your first minute: ask whether you are inside the network or on top of it. Either answer is fine; not asking is not.


Behavioural Round

# Question
1 Tell me about a system you worked on that could not be taken offline.
2 Tell me about an incident where latency, not availability, was the failure.
3 Tell me about a change you made to a system with a strict compatibility contract.
4 Tell me about a time you pushed back on a deadline for reliability reasons.
5 Tell me about how you tested something you could not easily reproduce in staging.
6 Tell me about a time you had to coordinate a release across several teams.
7 Tell me about the most careful piece of engineering you have done.
8 Why Visa, and what interests you about payment networks?

The cultural signal Visa looks for is carefulness. Change management, rollback plans, staged rollout, and testing under failure are the themes worth having stories for. A story about moving fast and breaking something plays badly unless it ends in a durable fix.


14-Day Prep Plan

Built from the pattern ranking above, so the heaviest topics get the most time.

Day Focus Problems
1 Arrays & Hashing (part 1) Two Sum, Minimum Operations to Write the Letter Y on a Grid, Split the Array
2 Arrays & Hashing (part 2) Number of Black Blocks, Create Target Array in the Given Order, Number of Adjacent Elements With the Same Color
3 Dynamic Programming (part 1) Length of Longest V-Shaped Diagonal Segment, Best Time to Buy and Sell Stock, Divisor Game
4 Dynamic Programming (part 2) Maximum Subarray, Trapping Rain Water, Beautiful Arrangement
5 Sliding Window & Two Pointers (part 1) Rotating the Box, Longest Substring Without Repeating Characters, 3Sum
6 Sliding Window & Two Pointers (part 2) Divide Players Into Teams of Equal Skill, Container With Most Water, Minimum Number of Swaps to Make the String Balanced
7 Trees Block Placement Queries, Largest Rectangle in Histogram, Count Nodes With the Highest Score
8 Intervals, Greedy & Sorting Merge Intervals, Earliest Possible Day of Full Bloom, Two Furthest Houses With Different Colors
9 Strings Text Justification, Group Anagrams, Match Alphanumerical Pattern in Matrix I
10 Tries & String Search Find the Length of the Longest Common Prefix, Longest Palindromic Substring, Longest Common Prefix
11 Heap / Priority Queue Maximum Number of Events That Can Be Attended, Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit, Top K Frequent Elements
12 Mock round Two problems in 45 minutes, timed, no hints. Simulate the real round.
13 Revision Redo the problems you failed or needed a hint on.
14 Light review + rest Re-read your pattern notes. Sleep early.

Tips for Visa Interviews

  1. Design to a latency budget and say the number is a budget. An authorisation round trip has a hard ceiling, so allocate it across network hops, fraud scoring, and the issuer call, then show what you cut when the budget is exceeded. Interviewers notice when a candidate spends latency deliberately.
  2. Treat availability as a requirement, not a goal. Active-active across sites, no maintenance windows, and degradation that still answers. Card networks use stand-in processing when an issuer cannot be reached — naming that concept, or reinventing it on the spot, is a strong signal.
  3. Separate authorisation from clearing and settlement. They are three systems with different latency and consistency needs, and conflating them is the most common structural mistake in this design round.
  4. Put fraud screening inside the latency budget. Scoring happens inline in milliseconds while model training happens offline. Say which features are precomputed, which are looked up, and what you do when the scoring service is slow.
  5. Make message formats part of the design. Fixed schemas like ISO 8583 and the move toward ISO 20022 mean versioning, optional fields, and backward compatibility with endpoints you cannot upgrade. This is real work at Visa and rarely mentioned by candidates.
  6. Expect SQL and Java internals. Reported rounds include joins and aggregation, plus collections, concurrency utilities, and garbage-collection behaviour for Java roles. Do not let these be the surprise.
  7. Keep DSA at medium breadth. The tagged list above is large and conventional: arrays, strings, hashing, trees, graphs, and dynamic programming at medium level. Coverage matters more than depth in any one pattern.

Other Company Prep


Round structures, durations, and emphasis reflect commonly reported candidate experience rather than published Visa documentation. Visa hires through many independent business units and the loop varies accordingly, including whether a design round appears at your level. Confirm the format with your recruiter.