Visa interview practice

Visa interview questions

75 questions; coding questions sorted by reports.

FastPrep has 73 coding questions tagged Visa, plus 2 system design questions. Filter them by interview stage and open any one to practice it.

Questions
75 (73 coding, 2 design and project)
By stage
Online Assessment 68 · Phone Screen 4 · Onsite 1
Updated

Question list

All 73 Visa coding questions

Sorted by how many times each question was reported. Pick a stage to see only its questions.

Showing 73 of 73 Visa questions.

QuestionDifficultyStageReports
Minimum Values with Even Powers of TwoArrayMathMediumOA5 reports · last Sep 2026
Total Server DowntimeArraySortingEasyOA3 reports · last Sep 2026
Distinct Chapters Missed During a Cyclic AbsenceMathSimulationEasyOA3 reports · last Sep 2026
Maximum Non-Decreasing Array LengthArrayDynamic ProgrammingHardOA3 reports · last Sep 2026
Sum of Index-Ordered Pair DifferencesArrayMathMediumOA3 reports · last Sep 2026
Planning ProductionGreedySortingMediumOA3 reports · last Sep 2026
Subarray SumArrayMathEasyOA3 reports · last Sep 2026
Format a Centered Newspaper PageStringGreedyMediumOA3 reports · last Dec 2025
Longest Non-Decreasing Substring After Pair SwapsStringGreedyMediumOA2 reports · last Oct 2026
Maximum Equalized Substrings After One Adjacent SwapStringPrefix SumMediumOA2 reports · last Sep 2026
Optimal TransferGraphGreedyHardOA2 reports · last Sep 2026
Minimum Anagram PeriodStringHash TableMediumOA2 reports · last Sep 2026
Maximum Server Processing TimeArrayDynamic ProgrammingHardOA2 reports · last Aug 2026
Count Prime Values in SubtreesTreeDepth-First SearchMediumOA1 report · last Nov 2026
Lock CodeMathGreedyHardOA1 report · last Nov 2026
Minimum-Sum Tree Fill with Unit StepsTreeBreadth-First SearchMediumOA1 report · last Nov 2026
House RobberArrayDynamic ProgrammingMediumPhone1 report · last Nov 2026
House Robber IIITreeDepth-First SearchMediumPhone1 report · last Nov 2026
Count Attack Vectors by Divisor RangeArrayMathMediumOA1 report · last Oct 2026
Minimum Operations to Reduce a Transaction LedgerStringHash TableEasyOA1 report · last Oct 2026
Count Valid Space-Delimited WordsStringParsingEasyOA1 report · last Oct 2026
Earliest Common Meeting StartArrayIntervalsMediumOA1 report · last Oct 2026
Maximum Index-Weighted Sum with Disjoint SwapsArrayDynamic ProgrammingHardOA1 report · last Oct 2026
Find the Intersection Node of Two Linked ListsLinked ListTwo PointersEasyPhone1 report · last Sep 2026
Sort ColorsArraySortingMediumPhone1 report · last Sep 2026
Longest Increasing Path in a MatrixArrayMatrixHardOnsite1 report · last Sep 2026
Minimum Power-of-Two Removal OperationsArrayMathMediumOA1 report · last Sep 2026
Top Mutual-Friend RecommendationsGraphHash TableMediumOA1 report · last Sep 2026
Longest String ChainDynamic ProgrammingHash TableMediumOA1 report · last Sep 2026
Maximum Three-Server Difficulty ScoreArrayGreedyEasyOA1 report · last Sep 2026
Minimize Malware Spread by Removing a NodeGraphBreadth-First SearchMediumOA1 report · last Sep 2026
Shortest Digit Prefix for Target MultisetsStringPrefix SumMediumOA1 report · last Sep 2026
Minimum Unreachable WarehousesGraphDepth-First SearchMediumOA1 report · last Sep 2026
Collect Branches for a Bird NestArraySimulationEasyOA1 report · last Aug 2026
Count Reverse-Digit PairsArrayHash TableMediumOA1 report · last Aug 2026
Count Cross-Array Target-Sum PairsHash TableArrayEasyOA1 report · last Aug 2026
Count Islands with DFS and BFSMatrixGraphMediumOA1 report · last Aug 2026
Dijkstra Shortest Paths in a Weighted Undirected GraphGraphShortest PathMediumOA1 report · last Aug 2026
Find Sliding-Window Pattern Start IndicesStringSliding WindowEasyOA1 report · last Aug 2026
Minimum-Cost Path Through a Weighted GridMatrixGraphMediumOA1 report · last Aug 2026
Rotate a Square Matrix ClockwiseMatrixArrayMediumOA1 report · last Aug 2026
Binary Sorting Rounds After FlipsStringArrayHardOA1 report · last Aug 2026
Connected GroupsGraphDepth-First SearchEasyOA1 report · last Jul 2026
Perfect SubstringsStringHash TableMediumOA1 report · last Jul 2026
Signal PingsArraySortingMediumOA1 report · last Jul 2026
Minimum Cost to Attend Required CoursesArrayBinary SearchMediumOA1 report · last Jul 2026
Minimum Score of a Path Between CitiesGraphDepth-First SearchMediumOA1 report · last Jul 2026
Maximum Even Tag SumArrayGreedyEasyOA1 report · last Jun 2026
Transform Binary MatrixMatrixSimulationEasyOA1 report · last Jun 2026
Minimum Cost to Select People for Skill QuotasDynamic ProgrammingGreedyHardOA1 report · last May 2026
Longest Selectable Non-Decreasing SubarrayArrayDynamic ProgrammingMediumOA1 report · last Apr 2026
Maximize Capped Contribution SumArrayGreedyEasyOA1 report · last Apr 2026
First Prefix Reaching a Target ScoreArrayPrefix SumEasyOA1 report · last Dec 2025
Previous Bus DepartureUnratedOA1 report · last Dec 2025
Reconstruct Island Visit OrderArrayHash TableMediumOA1 report · last Dec 2025
Count Alternating-Parity SubarraysArrayDynamic ProgrammingEasyOA1 report · last Dec 2025
Count Length-Three Windows with Matching EndsStringSliding WindowEasyOA1 report · last Dec 2025
Maximum Digital RootArrayMathEasyOA1 report · last Dec 2025
Apply Binary State OperationsArraySimulationEasyOA1 report · last Nov 2025
Reverse the Interior of Vowel-Bounded WordsArrayStringEasyOA1 report · last Oct 2025
Build a Hollow SquareStringSimulationEasyOA1 report · last Oct 2025
Count Uniform-or-Alternating Parity SubarraysArrayDynamic ProgrammingMediumOA1 report · last Oct 2025
Count Subarrays with at Least K Distinct ValuesArrayHash TableMediumOA1 report · last Aug 2025
Sum Strict Local MaximaArrayEasyOA1 report · last Aug 2025
Count Subarrays with K Disjoint Equal PairsArraySliding WindowMediumOA1 report · last Jun 2025
Spiral Matrix TraversalArrayMatrixMediumOA1 report · last Feb 2025
Wait Until the Next BusArraySimulationEasyOA1 report · last Feb 2025
Count Straight-Line Word Occurrences in a GridMatrixStringMediumOA1 report · last Aug 2024
Index of the First Non-Repeating CharacterStringHash TableEasyOA1 report · last Aug 2022
Count Subarrays with Sum Divisible by KArrayHash TableMediumOA1 report · last Nov 2019
Longest Common Prefix LengthStringEasyOA1 report · last Nov 2019
Most Frequent Valid SubstringStringHash TableMediumOA1 report · last Nov 2019
Validate IP AddressStringParsingMediumOA1 report · last Nov 2019

At a glance

Visa interview process

FastPrep has 73 Visa coding interview questions: 68 questions from the online assessment (OA), 4 questions from phone screens and 1 question from onsite rounds. Most are medium (39 medium, 25 easy and 8 hard). The most common topics are Array, String, Hash Table, Greedy and Dynamic Programming. The latest report is from Nov 2026.

  • Online Assessment

    68 questions · 36 medium, 24 easy and 7 hard

    Topics: Array, String and Hash Table

    Latest report: Nov 2026

  • Phone Screen

    4 questions · 3 medium and 1 easy

    Topics: Array, Dynamic Programming and Two Pointers

    Latest report: Nov 2026

  • Onsite

    1 question · 1 hard

    Topics: Array, Depth-First Search and Dynamic Programming

    Latest report: Sep 2026

By stage and level

Visa questions by stage and level

01 · Preparation plan

Move from counting pairs to traversing weighted state.

Visa's coding catalog supports preparation across counting, simulation, and graph search. Pair frequency accounting is a useful warm-up before grid movement and weighted paths. The page covers technical practice, not payment-network architecture or a universal Visa assessment format. This is a suggested practice order, not Visa's interview process. Your invitation and recruiter come first.

  1. 01

    Count pairs with multiplicity

    Use cross-array target-sum pairs to distinguish counting all matches from returning unique values. Frequency maps make repeated inputs part of the solution rather than an edge-case patch.

    • Test duplicated values in both arrays.
    • Use a wide type for the pair count.
    • Avoid mutating one array's counts unintentionally.
    Practice: Count Cross-Array Target-Sum Pairs
  2. 02

    Model movement and teleport transitions

    The grid-walk exercise asks for a precise transition model. Distinguish ordinary movement, blocked cells, and teleport behavior before choosing a traversal strategy.

    • Trace a teleport followed by an obstacle.
    • Define repeated-state behavior from the contract.
    • Validate coordinates before accessing the grid.
  3. 03

    Choose shortest paths by edge semantics

    Use the weighted undirected graph exercise to explain why ordinary breadth-first search is insufficient for unequal costs. Make the algorithm's weight assumptions explicit.

    • Skip obsolete priority-queue entries.
    • Test unreachable vertices and parallel choices.
    • State the nonnegative-weight requirement.
    Practice: Dijkstra Shortest Paths in a Weighted Undirected Graph

02 · Design and project questions

2 Visa design and project questions

Beyond coding questions, FastPrep has 2 system design questions tagged Visa.

System designLast reported Nov 2026

Design an Inventory Management Service

Design an authoritative inventory service that supports safe point adjustments and large asynchronous file-based updates.

Practice
System designLast reported Aug 2026

Design an E-Commerce Top-Spender Query

Model a compact relational commerce dataset and design a correct, index-aware query for the ten highest-spending users in a trailing thirty-day window.

Practice

03 · About these questions

Where these Visa questions come from

Each question on this page is tagged Visa in FastPrep's problem bank. The report count and month show how often and how recently it was reported from Visa interviews.

Past reports help you choose what to practice first. They can't tell you which questions, format or platform your own interview will use.

  • Only questions tagged Visa appear on this page.
  • Each coding question shows its stage and last report date when known.
  • These are not official, private or leaked Visa questions.

04 · FAQ

Visa interview questions: FAQ

For hiring news and timelines, see the Visa hiring insights page.

01What are the stages of the Visa interview?

The 73 Visa coding questions on FastPrep come from the online assessment (68 questions), phone screens (4 questions) and onsite rounds (1 question). Stages differ by role, level and date, so check your invitation for your own process.

02What does the Visa OA look like?

68 of the 73 Visa coding questions on FastPrep come from the online assessment. By difficulty: 36 medium, 24 easy and 7 hard. Common OA topics: Array, String and Hash Table. The latest OA report is from Nov 2026.

03How hard is the Visa interview?

Most Visa coding questions on FastPrep are medium. By difficulty, the 72 rated questions are 39 medium, 25 easy and 8 hard.

04What topics come up in Visa coding interviews?

Across 73 Visa coding questions, the most common topics are Array (39 questions), String (19 questions), Hash Table (14 questions), Greedy (13 questions) and Dynamic Programming (12 questions).

05What are the most asked Visa interview questions?

The most reported questions are “Minimum Values with Even Powers of Two” (5 reports), “Total Server Downtime” (3 reports) and “Distinct Chapters Missed During a Cyclic Absence” (3 reports).

06Do these Visa problems require payment-industry knowledge?

The selected exercises are grounded in their stated programming inputs, outputs, and constraints. They do not require access to a payment network or confidential financial data. Any domain-specific interview expectations should come from the actual role; a company-tagged algorithm is not evidence of a payments syllabus.

07Is FastPrep affiliated with Visa?

No. FastPrep is an independent interview prep site and is not affiliated with Visa. These are practice questions from FastPrep's problem bank, not official, private or leaked Visa questions.

08How do you know which stage a Visa question is from?

Each question's stage comes from the reports behind it. A question can be reported from more than one stage, and the process can change by role, level, location and year, so treat the stage as a guide, not a promise.

09Which Visa interview stage should I practice first?

The stage named in your invitation or recruiter message. If you don't know the stage yet, start with the stage that has the most questions, then practice explaining and testing your code out loud.

10Can this page tell me exactly what my Visa interview will ask?

No. Report counts, stages and dates show what came up before and help you choose what to practice first. They can't predict the questions, order, timing or platform of your own interview.

Next step

Pick a question. Solve it end to end.

Start with the stage named in your invitation. Past reports show what came up before, not what you will be asked.

Back to the question list