Visa Array Coding Interview Questions
44 array coding problems are tagged as asked at Visa in interviews and online assessments reported by candidates. By difficulty they split into 9 basic, 28 intermediate and 7 advanced. The topics they most often combine with are Sorting, Hash Table, Sliding Window, Math.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Visa tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Two Sum (Basic)
- Contains Duplicate (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Maximum Subarray (Intermediate)
- Product of Array Except Self (Intermediate)
- Rotate Array (Intermediate)
- Longest Increasing Subsequence (Advanced)
- Kth Largest Element (Intermediate)
- Two Sum in a Sorted Array (Basic)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Trapping Rain Water (Advanced)
- Sort Colors (Basic)
- Largest Rectangle in Histogram (Advanced)
- Daily Temperatures (Intermediate)
- Plus One (Basic)
- Search in a Rotated Sorted Array (Advanced)
- Merge Intervals (Intermediate)
- Candy Distribution (Advanced)
- Last Stone Weight (Intermediate)
- Subarrays Divisible by K (Intermediate)
- Maximum Events Attended (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Partition Equal Subset Sum (Intermediate)
- Best Time to Buy and Sell Stock II (Intermediate)
- House Robber II (Intermediate)
- Gas Station (Intermediate)
- Container With Most Water (Intermediate)
- Top K Frequent Values (Intermediate)
- Course Schedule Feasible (Intermediate)
- LRU Cache Operations (Basic)
- LFU Cache Operations (Intermediate)
- Maximal Score After K Operations (Intermediate)
- Image Smoother (Basic)
- 3Sum Triplets (Intermediate)
- Sliding Window Maximum Values (Advanced)
- Memory Allocator (Intermediate)
- Check if Array Is Sorted and Rotated (Basic)
- Count Nodes With the Highest Score (Intermediate)
- Restore Array From Adjacent Pairs (Intermediate)
- Sell Diminishing-Valued Colored Balls (Advanced)
- Jump Game VI (Intermediate)
- Running Median of Stream (Intermediate)
Related
- Visa coding interview questions
- Array problems
- Visa basic problems
- Visa intermediate problems
- Visa advanced problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Visa problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Visa interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.