Visa Coding Interview Questions
12 coding questions reported by candidates who interviewed at Visa, out of 14 Visa questions we track. They average 3.0/5 difficulty (medium). Most common topics: Array, Greedy, Dynamic Programming, Two Pointer.
Practice Visa questions →Difficulty
- 2/5 — easy1
- 3/5 — medium10
- 4/5 — hard1
Asked for SWE (12)
Reported Visa coding questions
Jump Game
3/5Navigating sequential arrays with variable advancement limits is a popular interview staple, featured as a reported Visa interview question. Participants must determine whether it is feasible to traverse from the initial index to the very end of a sequence given dynamic step allowances at each milestone. This problem is designed to test your mastery of greedy trajectory tracking and forward-looking state management. Get full access to the complete problem instructions and an optimized model solution with a paid subscription.
GreedyArrayDynamic ProgrammingMinimum Score of a Path Between Two Cities
3/5This graph theory challenge, reported from Visa technical interviews, requires finding an optimal route across a network of connected locations. Instead of traditional shortest-path metrics, the objective centers on identifying a trajectory where the weakest link or maximum weight encountered along the way is minimized. It tests your proficiency with graph traversal algorithms and data structures like disjoint-set unions or modified search strategies. Gain full access to the complete problem statement and verified code solution with your subscription.
GraphUnion FindDsuFind All Unique Triplets Summing to Zero in Array
3/5Recapped from a Visa coding assessment, this popular algorithmic challenge asks you to discover all distinct combinations of three numbers within an integer collection that add up to zero. The task tests your mastery of sorting strategies, two-pointer techniques, and duplicate elimination in numeric arrays. You will need to design an efficient routine that avoids redundant configurations while scanning the dataset. Unlock the full challenge details and clean model implementation by obtaining a subscription.
3sumArraySortingCourse Schedule (Can Finish All Courses)
3/5Based on a reported Visa interview question, this problem requires you to determine if a set of educational tasks with dependency constraints can all be completed successfully. The core challenge evaluates your understanding of graph theory, specifically cycle detection and topological sorting in directed graphs. You will need to model prerequisites effectively to verify whether a valid execution sequence exists. To view the complete problem statement and optimal model solution, a subscription is required.
GraphTopological SortBFSCount Distinct Movement Subsequences on a Number Line
4/5This advanced algorithmic problem, frequently encountered in Visa technical screenings, explores counting valid directional sequences on a bounded integer track. Candidates must compute how many unique movement combinations successfully navigate from an origin to a destination without crossing boundary limits. The task thoroughly evaluates combinatorial logic, string processing, and dynamic programming or backtracking optimization. Unlocking the complete problem specification and its rigorous model solution requires an active subscription.
Dynamic ProgrammingSubsequenceStringFind K Closest Elements
3/5Reported as a Visa technical assessment, this problem challenges you to locate a specific quantity of nearest numerical neighbors around a target value within an ordered sequence. The task examines your mastery of binary search techniques and customized sorting logic for tie-breaking scenarios. Access to the full problem text and optimized solution requires a subscription.
ArrayBinary SearchSortingTwo Sum: Find Indices of Two Numbers Summing to Target
2/5This classic coding interview question, frequently asked by Visa, requires you to find the positions of two numbers within an array that add up to a specified target value. The exercise tests your familiarity with hash-based lookups and your ability to optimize time complexity from quadratic to linear. You will need to design an efficient algorithm that processes the sequence swiftly while handling constraints. Unlock the complete problem breakdown and optimal solution code with a subscription.
HashmapArrayLargest Square Area in Cityscape
3/5Analyze urban architectural layouts in this geometric interview challenge highlighted by Visa recruitment processes. Given an adjacent sequence of vertical structures of varying elevations, your objective is to determine the largest possible square region that can fit within the skyline boundaries. This problem effectively evaluates stack-based data structures and efficient range querying techniques for rectangle and square detection. Access to the complete problem statement and clean code implementation requires a subscription.
Binary SearchArraySliding WindowMinimize Value by Parentheses in Concatenated Expression
3/5This Visa interview question challenges candidates to evaluate numeric strings and strategically place grouping symbols to achieve the smallest possible arithmetic result. The problem evaluates your ability to handle large numerical inputs and apply greedy or dynamic programming techniques for expression parsing. You will need to carefully consider operator precedence and string manipulation. To access the complete problem description and an optimized model solution, a paid subscription is required.
StringMathParenthesesMinimize Maximum of Array
3/5This Visa interview question presents an array manipulation challenge focused on optimization. You are given an array of non-negative integers and a specific operation: you can transfer a unit from any element to its immediate left neighbor. The goal is to perform these operations strategically any number of times to achieve the smallest possible value for the maximum element in the array. This problem requires careful thought about how to distribute values to minimize peaks, testing your ability to identify an optimal strategy for array balancing. The full problem description and a model solution are available with a subscription.
ArrayPrefix SumGreedyBest Time to Buy and Sell Stock (One and Two Transactions)
3/5This classic financial optimization puzzle, frequently asked in Visa interviews, asks you to determine the maximum financial gain achievable from stock price histories under strict transaction limits. You will explore scenarios allowing a single trade as well as an extended version permitting up to two non-overlapping transactions. The exercise tests your capability to optimize dynamic tracking variables and apply greedy strategies over sequential time-series data. To unlock the full problem details and expert-crafted model solution, a subscription is required.
Dynamic ProgrammingArrayGreedyMemory Allocation Queries
3/5This Visa coding question asks you to simulate a memory manager that serves a stream of allocation and release requests on a linear array of cells. It tests careful state simulation, a first-fit placement policy, and reasoning about contiguous runs of free and occupied space. The full specification and a worked reference solution are available with a subscription.
ArrayFirst FitSimulation
Visa coding interview FAQ
- What coding questions does Visa ask?
- 12 reported coding questions, most often on Array, Greedy, Dynamic Programming, Two Pointer, Graph.
- How hard is the Visa coding interview?
- The reported coding questions average 3.0 out of 5: 1 at 2/5, 10 at 3/5, 1 at 4/5.