0 day streak

Visa coding interview questions

FintechProduct Global

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +46 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +50 Solve
Text JustificationSimulation Hard Arrays & Hashing Google, Microsoft, Airbnb +6 Solve
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +49 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Microsoft, Meta +31 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +38 Solve
Find the Length of the Longest Common PrefixBasics Medium Tries Databricks, Coinbase Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +45 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +31 Solve
Longest Palindromic SubstringStrings Medium Dynamic Programming Amazon, Microsoft, Apple +22 Solve
Valid ParenthesesStack Basics Easy Stack Google, Microsoft, Meta +39 Solve
Trapping Rain WaterTwo Pointer Hard Arrays & Hashing Google, Amazon, Microsoft +38 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Microsoft, Apple, LinkedIn +29 Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +41 Solve
Simplify PathStack Basics Medium Stack Meta, Snowflake, Salesforce Solve
Block Placement QueriesSegment Tree Hard Intervals Uber Solve
Number of Black BlocksHashing Medium Arrays & Hashing Stripe Solve
Largest Rectangle in HistogramMonotonic Stack Hard Monotonic Stack Meta, DoorDash, Flipkart +3 Solve
Maximum Number of Events That Can Be AttendedAdvanced Medium Heaps Snowflake, PayPal Solve
Count Nodes With the Highest ScorePostorder + Multiple Return Values Medium Trees & BST DoorDash Solve
Spiral MatrixMatrix Traversal Medium Arrays & Hashing Microsoft, Apple, Databricks +15 Solve
Rotate ImageIn-place Transformations Medium Arrays & Hashing Amazon, Apple, Nvidia +14 Solve
Subarray Sum Equals KPrefix Sum Strategy Medium Arrays & Hashing Google, Microsoft, Meta +15 Solve
Minimum Time DifferenceSorting Medium Arrays & Hashing Palantir Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Bloomberg +17 Solve
Exclusive Time of FunctionsStack Basics Medium Stack LinkedIn, IBM Solve
Divide Players Into Teams of Equal SkillTwo Pointer Medium Arrays & Hashing JPMorgan Chase Solve
Longest Common PrefixString Basics Easy Arrays & Hashing Bloomberg, Adobe, American Express +12 Solve
Top K Frequent ElementsComposite comparator Medium Heaps Google, Amazon, Apple +16 Solve
Course ScheduleTopological Sort Medium Graphs Google, Amazon, Microsoft +14 Solve
Word LadderBFS for shortest path Hard Graphs Google, Amazon, Microsoft +13 Solve
Merge Two Sorted ListsDummy Node Pattern Easy Linked List Google, Amazon, Microsoft +13 Solve
Sort ColorsDutch National Flag Medium Arrays & Hashing Microsoft, Nvidia, Morgan Stanley +12 Solve
Container With Most WaterTwo Pointer Medium Arrays & Hashing Google, Microsoft, Apple +31 Solve
Intersection of Two Linked ListsMiscellaneous Easy Linked List Airbnb, American Express, Citi +3 Solve
Longest Increasing Subsequence1D DP Medium Dynamic Programming Google, Atlassian, Goldman Sachs +9 Solve
Linked List Cycle IISlow Fast Pointers Medium Linked List Microsoft, American Express, Intel +4 Solve
Also reported, being added to AlgoRung (13)

Length of Longest V-Shaped Diagonal Segment · Rotating the Box · Split the Array · Minimum Operations to Write the Letter Y on a Grid · Create Target Array in the Given Order · Number of Adjacent Elements With the Same Color · Divisor Game · Two Furthest Houses With Different Colors · Earliest Possible Day of Full Bloom · Match Alphanumerical Pattern in Matrix I · Odd String Difference · Beautiful Arrangement · Bag of Tokens

Questions people ask

What coding questions does Visa ask most?

Two Sum, Longest Substring Without Repeating Characters, Text Justification, LRU Cache, 3Sum, Best Time to Buy and Sell Stock, Find the Length of the Longest Common Prefix, Merge Intervals.

Which topics come up in Visa coding rounds?

arrays, strings, sliding window, grids, binary search, hash maps.

How hard are Visa coding questions?

Of the reported questions, 7 are easy, 25 medium and 5 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.