Interview Intel · Visa

Visa coding interview
questions, leaked.

84 problems reported across recent Visa interviews. Top patterns: array, string, hash table. The list below is what most reported candidates actually saw, plus the honest play if you can't grind all of it.

Founder's read

Visa's interview is heavy on arrays. Of 84 problems tracked, 55 are array-based, and 48 of them sit in the medium-to-hard range. You're looking at a lot of two-pointers, hash-table lookups, and matrix manipulation under time pressure. The good news: patterns repeat. Two Sum, 3Sum, and Longest Substring Without Repeating Characters cover most of the fundamentals you'll see. The bad news: they'll dress them up. If you blank on a variant mid-assessment, StealthCoder runs invisibly during your screen share and surfaces a working solution in seconds, letting you move forward.

Tracked problems
84
Easy
21/ 25%
Medium
48/ 57%
Hard
15/ 18%

Top problems at Visa

leaked_problems.csv50 rows
#ProblemDiffFrequency
01Length of Longest V-Shaped Diagonal SegmentHARD
100.0
02Two SumEASY
96.5
03Rotating the BoxMEDIUM
93.8
04Split the ArrayEASY
93.8
053SumMEDIUM
87.4
06Best Time to Buy and Sell StockEASY
85.5
07Create Target Array in the Given OrderEASY
85.5
08Longest Substring Without Repeating CharactersMEDIUM
83.4
09Maximum Number of Events That Can Be AttendedMEDIUM
83.4
10Block Placement QueriesHARD
81.1
11Group AnagramsMEDIUM
81.1
12Match Alphanumerical Pattern in Matrix IMEDIUM
81.1
13Count Nodes With the Highest ScoreMEDIUM
81.1
14Divisor GameEASY
81.1
15Two Furthest Houses With Different ColorsEASY
81.1
16Odd String DifferenceEASY
81.1
17Earliest Possible Day of Full BloomHARD
81.1
18LRU CacheMEDIUM
75.8
19Longest Common PrefixEASY
75.8
20Valid ParenthesesEASY
72.6
21Trapping Rain WaterHARD
72.6
22Search in Rotated Sorted ArrayMEDIUM
72.6
23Simplify PathMEDIUM
68.9
24Text JustificationHARD
68.9
25Minimum Operations to Write the Letter Y on a GridMEDIUM
64.6
26Number of Adjacent Elements With the Same ColorMEDIUM
64.6
27Merge IntervalsMEDIUM
64.6
28Number of IslandsMEDIUM
64.6
29Walls and GatesMEDIUM
64.6
30Longest Palindromic SubstringMEDIUM
64.6
31Reverse Linked ListEASY
59.3
32Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMEDIUM
59.3
33Maximum SubarrayMEDIUM
59.3
34Daily TemperaturesMEDIUM
59.3
35Reverse Words in a StringMEDIUM
59.3
36Course ScheduleMEDIUM
59.3
37Number of Black BlocksMEDIUM
52.5
38Word LadderHARD
52.5
39Top K Frequent ElementsMEDIUM
52.5
40Find Peak ElementMEDIUM
52.5
41Rotate StringEASY
52.5
42Check If Array Pairs Are Divisible by kMEDIUM
52.5
43Diameter of Binary TreeEASY
52.5
44Word SearchMEDIUM
52.5
45Restore IP AddressesMEDIUM
52.5
46Reverse Nodes in k-GroupHARD
52.5
47Shortest PalindromeHARD
52.5
48Roman to IntegerEASY
52.5
49Number of Matching SubsequencesMEDIUM
42.9
50Contains DuplicateEASY
42.9

Frequencies derived from public community-tagged interview reports. Click a row to view on LeetCode.

The hedge

You have a week, maybe less. You can't out-grind the list above. StealthCoder runs invisibly during the actual Visa OA. The proctor cannot see it. Screen share cannot detect it. Built by a senior engineer who knows the OA is theater. This is the script.

Get StealthCoder
Topic distribution
What this means

Arrays dominate the assessment because they're the foundation of everything Visa tests: sorting, two-pointers, dynamic programming all live in array space. String problems (26 total) and hash-tables (22 total) are the second and third heaviest hitters. Start with two-pointers and hash-table patterns because they unlock the array problems fast. Dynamic programming shows up 13 times and often combines with arrays or matrices, so drill memoization after you're solid on basic traversals. The hard problems (15 total) cluster around matrix diagonals and advanced data structures like binary indexed trees. You won't have time to memorize every edge case before the OA. That's where StealthCoder becomes your safety net: even if you hit a pattern you haven't drilled, you get a real-time solution that keeps you moving.

Companies with similar patterns

If you prepped for Visa, these companies recycle ~60% of the same topics.

The honest play

You've seen the list. Now make sure you pass Visa.

Memorizing every problem above in a week is a fantasy. StealthCoder is the hedge: an AI overlay that's invisible during screen share. It reads the problem on screen and surfaces a working solution in under 2 seconds. Built by a senior engineer who knows the OA is theater. This is the script. Works on HackerRank, CodeSignal, CoderPad, and Karat.

Visa interview FAQ

How many array problems should I solve before the Visa OA?+

Array problems make up 65 percent of the tracked set (55 of 84). Aim for 20 to 30 solid reps across easy and medium difficulty before your assessment. Focus on two-pointers, sliding window, and hash-table combos since those appear repeatedly in their actual problems.

Is dynamic programming required for Visa?+

DP appears in 13 problems but usually pairs with arrays or matrices rather than standing alone. It's not the priority. Get comfortable with basic array and string manipulation first, then add DP memoization. Most DP problems here are medium, not hard.

What should I study first for a Visa coding interview?+

Two-pointers and hash-tables. They unlock array and string problems faster than anything else. Two Sum, 3Sum, and Longest Substring Without Repeating Characters are the canonical drills. These patterns repeat across their medium-difficulty set.

Are Visa problems mostly easy or medium?+

57 percent are medium (48 of 84), 25 percent are easy, and 18 percent are hard. Expect medium difficulty to dominate your assessment. Easy problems build confidence but won't prepare you fully. Plan for medium to hard pacing.

Do I need to study matrix and graph problems for Visa?+

Matrix shows up in 12 problems, mostly paired with arrays and DP. Graphs (DFS, BFS) appear in about 7 problems total. They're secondary. If time is tight, focus on array, string, and hash-table first. Matrix drills can come later.

Problem frequencies sourced from public community-maintained interview-report repos. Problems, ratings, and trademarks are property of LeetCode and Visa. StealthCoder is not affiliated with Visa.