139 curated coding interview questions directly asked in Visa technical rounds, sorted by frequency with recency and difficulty diagnostics.
| ID | Problem | Difficulty | Topic | Pattern | Acceptance | Frequency | Recency |
|---|---|---|---|---|---|---|---|
| 1963 | Minimum Number of Swaps to Make the String Balanced | Medium | Arrays; Strings | Sorting / Prefix / Scan; Hashing / Sliding Window | 78.0% | 100.0% | 30d |
| 636 | Exclusive Time of Functions | Medium | Core DSA | Implementation / Reasoning | 66.2% | 100.0% | 30d |
| 2680 | Maximum OR | Medium | Arrays | Sorting / Prefix / Scan | 43.0% | 100.0% | 30d |
| 2964 | Number of Divisible Triplet Sums | Medium | Arrays | Sorting / Prefix / Scan | 67.6% | 100.0% | 3m |
| 3043 | Find the Length of the Longest Common Prefix | Medium | Core DSA | Implementation / Reasoning | 62.2% | 100.0% | 6m |
| 1861 | Rotating the Box | Medium | Core DSA | Implementation / Reasoning | 82.5% | 100.0% | all |
| 3459 | Length of Longest V-Shaped Diagonal Segment | Hard | Core DSA | Implementation / Reasoning | 56.2% | 100.0% | all |
| 2491 | Divide Players Into Teams of Equal Skill | Medium | Core DSA | Implementation / Reasoning | 68.9% | 87.5% | 3m |
| 56 | Merge Intervals | Medium | Arrays | Sorting / Prefix / Scan | 51.8% | 87.5% | 3m |
| 3 | Longest Substring Without Repeating Characters | Medium | Strings; Trees | Hashing / Sliding Window; DFS / BFS; Sliding Window | 39.1% | 87.5% | 3m |
| 3035 | Maximum Palindromes After Operations | Medium | Arrays; Strings | Sorting / Prefix / Scan; Hashing / Sliding Window | 46.5% | 87.5% | 3m |
| 526 | Beautiful Arrangement | Medium | Core DSA | Implementation / Reasoning | 64.8% | 87.5% | 3m |
| 2484 | Count Palindromic Subsequences | Hard | Core DSA | Implementation / Reasoning | 41.2% | 87.5% | 3m |
| 146 | LRU Cache | Medium | Design | Data Structure Design | 47.4% | 87.5% | 3m |
| 68 | Text Justification | Hard | Core DSA | Implementation / Reasoning | 51.2% | 87.5% | 6m |
| 121 | Best Time to Buy and Sell Stock | Easy | Core DSA | Implementation / Reasoning | 56.8% | 87.5% | 6m |
| 48 | Rotate Image | Medium | Arrays | Sorting / Prefix / Scan | 80.1% | 87.5% | 6m |
| 3649 | Number of Perfect Pairs | Medium | Core DSA | Implementation / Reasoning | 34.1% | 87.5% | 6m |
| 3046 | Split the Array | Easy | Arrays | Sorting / Prefix / Scan | 61.3% | 87.5% | all |
| 1389 | Create Target Array in the Given Order | Easy | Arrays | Sorting / Prefix / Scan | 86.5% | 87.5% | all |
| 3161 | Block Placement Queries | Hard | Core DSA | Implementation / Reasoning | 18.7% | 87.5% | all |
| 3019 | Number of Changing Keys | Easy | Core DSA | Implementation / Reasoning | 80.7% | 75.0% | 6m |
| 15 | 3Sum | Medium | Arrays | Sorting / Prefix / Scan | 39.1% | 75.0% | 6m |
| 3651 | Minimum Cost Path with Teleportations | Hard | Arrays | Sorting / Prefix / Scan | 45.5% | 75.0% | 6m |
| 1648 | Sell Diminishing-Valued Colored Balls | Medium | Core DSA | Implementation / Reasoning | 30.2% | 75.0% | 6m |
| 20 | Valid Parentheses | Easy | Strings | Hashing / Sliding Window | 44.2% | 75.0% | all |
| 42 | Trapping Rain Water | Hard | Core DSA | Two Pointers | 67.4% | 75.0% | all |
| 49 | Group Anagrams | Medium | Strings | Hashing / Sliding Window | 72.6% | 75.0% | all |
| 1025 | Divisor Game | Easy | Core DSA | Implementation / Reasoning | 71.9% | 75.0% | all |
| 2049 | Count Nodes With the Highest Score | Medium | Trees | DFS / BFS | 52.7% | 75.0% | all |
| 2078 | Two Furthest Houses With Different Colors | Easy | Core DSA | Implementation / Reasoning | 71.8% | 75.0% | all |
| 2136 | Earliest Possible Day of Full Bloom | Hard | Core DSA | Implementation / Reasoning | 71.2% | 75.0% | all |
| 3078 | Match Alphanumerical Pattern in Matrix I | Medium | Arrays; Strings | Sorting / Prefix / Scan; Hashing / Sliding Window | 64.8% | 75.0% | all |
| 1353 | Maximum Number of Events That Can Be Attended | Medium | Arrays | Sorting / Prefix / Scan | 39.0% | 75.0% | all |
| 2451 | Odd String Difference | Easy | Strings | Hashing / Sliding Window | 62.0% | 75.0% | all |
| 71 | Simplify Path | Medium | Core DSA | Implementation / Reasoning | 50.6% | 75.0% | all |
| 2672 | Number of Adjacent Elements With the Same Color | Medium | Core DSA | Implementation / Reasoning | 59.6% | 75.0% | all |
| 2768 | Number of Black Blocks | Medium | Core DSA | Implementation / Reasoning | 41.8% | 75.0% | all |
| 84 | Largest Rectangle in Histogram | Hard | Core DSA | Implementation / Reasoning | 49.9% | 75.0% | all |
| 3915 | Maximum Sum of Alternating Subsequence With Distance at Least K | Hard | Arrays | Sorting / Prefix / Scan | 31.6% | 75.0% | all |
| 1 | Two Sum | Easy | Arrays | Sorting / Prefix / Scan; Two Pointers | 57.5% | 62.5% | 6m |
| 3071 | Minimum Operations to Write the Letter Y on a Grid | Medium | Arrays; Strings | Sorting / Prefix / Scan; Hashing / Sliding Window | 64.6% | 62.5% | 6m |
| 2817 | Minimum Absolute Difference Between Elements With Constraint | Medium | Arrays | Sorting / Prefix / Scan | 37.7% | 62.5% | 6m |
| 53 | Maximum Subarray | Medium | Arrays | Sorting / Prefix / Scan | 53.3% | 62.5% | 6m |
| 415 | Add Strings | Easy | Strings | Hashing / Sliding Window | 52.2% | 62.5% | 6m |
| 560 | Subarray Sum Equals K | Medium | Arrays | Sorting / Prefix / Scan | 47.3% | 62.5% | 6m |
| 258 | Add Digits | Easy | Core DSA | Implementation / Reasoning | 68.9% | 62.5% | 6m |
| 5 | Longest Palindromic Substring | Medium | Strings; Trees | Hashing / Sliding Window; DFS / BFS | 37.8% | 62.5% | 6m |
| 67 | Add Binary | Easy | Core DSA | Implementation / Reasoning | 58.1% | 62.5% | 6m |
| 846 | Hand of Straights | Medium | Core DSA | Implementation / Reasoning | 58.0% | 62.5% | 6m |
| 131 | Palindrome Partitioning | Medium | Strings; Dynamic Programming | Hashing / Sliding Window; State Transition | 74.1% | 62.5% | 6m |
| 1631 | Path With Minimum Effort | Medium | Arrays | Sorting / Prefix / Scan | 63.2% | 62.5% | 6m |
| 1529 | Minimum Suffix Flips | Medium | Arrays | Sorting / Prefix / Scan | 73.9% | 62.5% | 6m |
| 14 | Longest Common Prefix | Easy | Core DSA | Implementation / Reasoning | 47.6% | 62.5% | all |
| 286 | Walls and Gates | Medium | Core DSA | Implementation / Reasoning | 64.0% | 62.5% | all |
| 54 | Spiral Matrix | Medium | Arrays | Sorting / Prefix / Scan | 56.8% | 62.5% | all |
| 200 | Number of Islands | Medium | Graphs | BFS / DFS / Topological Sort | 64.4% | 62.5% | all |
| 539 | Minimum Time Difference | Medium | Arrays | Sorting / Prefix / Scan | 62.6% | 62.5% | all |
| 206 | Reverse Linked List | Easy | Linked List | Two Pointers | 80.6% | 62.5% | all |
| 207 | Course Schedule | Medium | Graphs | BFS / DFS / Topological Sort | 51.4% | 50.0% | all |
| 1497 | Check If Array Pairs Are Divisible by k | Medium | Arrays | Sorting / Prefix / Scan | 46.2% | 50.0% | all |
| 543 | Diameter of Binary Tree | Easy | Trees | DFS / BFS | 65.5% | 50.0% | all |
| 661 | Image Smoother | Easy | Core DSA | Implementation / Reasoning | 69.3% | 50.0% | all |
| 1438 | Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit | Medium | Arrays | Sorting / Prefix / Scan | 57.7% | 50.0% | all |
| 347 | Top K Frequent Elements | Medium | Heap | Priority Queue | 66.4% | 50.0% | all |
| 127 | Word Ladder | Hard | Strings | Hashing / Sliding Window | 45.6% | 50.0% | all |
| 93 | Restore IP Addresses | Medium | Core DSA | Implementation / Reasoning | 56.0% | 50.0% | all |
| 11 | Container With Most Water | Medium | Core DSA | Two Pointers | 60.0% | 50.0% | all |
| 723 | Candy Crush | Medium | Core DSA | Implementation / Reasoning | 77.4% | 50.0% | all |
| 21 | Merge Two Sorted Lists | Easy | Arrays; Linked List | Sorting / Prefix / Scan; Two Pointers | 68.3% | 50.0% | all |
| 792 | Number of Matching Subsequences | Medium | Core DSA | Implementation / Reasoning | 50.6% | 50.0% | all |
| 110 | Balanced Binary Tree | Easy | Trees | DFS / BFS | 58.4% | 50.0% | all |
| 295 | Find Median from Data Stream | Hard | Heap | Priority Queue | 54.5% | 50.0% | all |
| 32 | Longest Valid Parentheses | Hard | Strings | Hashing / Sliding Window | 38.8% | 50.0% | all |
| 122 | Best Time to Buy and Sell Stock II | Medium | Core DSA | Implementation / Reasoning | 71.1% | 50.0% | all |
| 75 | Sort Colors | Medium | Arrays | Sorting / Prefix / Scan | 69.6% | 50.0% | all |
| 238 | Product of Array Except Self | Medium | Arrays | Sorting / Prefix / Scan | 68.9% | 50.0% | all |
| 202 | Happy Number | Easy | Core DSA | Implementation / Reasoning | 59.7% | 50.0% | all |
| 3552 | Grid Teleportation Traversal | Medium | Core DSA | Implementation / Reasoning | 23.6% | 50.0% | all |
| 1314 | Matrix Block Sum | Medium | Arrays | Sorting / Prefix / Scan | 76.5% | 50.0% | all |
| 134 | Gas Station | Medium | Greedy | Greedy | 48.0% | 50.0% | all |
| 4 | Median of Two Sorted Arrays | Hard | Arrays; Heap | Sorting / Prefix / Scan; Priority Queue | 46.6% | 37.5% | all |
| 66 | Plus One | Easy | Core DSA | Implementation / Reasoning | 50.0% | 37.5% | all |
| 151 | Reverse Words in a String | Medium | Strings | Hashing / Sliding Window | 56.4% | 37.5% | all |
| 214 | Shortest Palindrome | Hard | Strings | Hashing / Sliding Window | 42.5% | 37.5% | all |
| 739 | Daily Temperatures | Medium | Stack / Queue | Monotonic Stack / Simulation | 68.7% | 37.5% | all |
| 2593 | Find Score of an Array After Marking All Elements | Medium | Arrays | Sorting / Prefix / Scan | 64.5% | 37.5% | all |
| 25 | Reverse Nodes in k-Group | Hard | Trees; Linked List | DFS / BFS; Two Pointers | 66.1% | 37.5% | all |
| 189 | Rotate Array | Medium | Arrays | Sorting / Prefix / Scan | 44.9% | 37.5% | all |
| 242 | Valid Anagram | Easy | Strings | Hashing / Sliding Window | 68.1% | 37.5% | all |
| 123 | Best Time to Buy and Sell Stock III | Hard | Core DSA | Implementation / Reasoning | 53.7% | 37.5% | all |
| 162 | Find Peak Element | Medium | Binary Search | Binary Search | 47.0% | 37.5% | all |
| 239 | Sliding Window Maximum | Hard | Arrays | Sorting / Prefix / Scan; Sliding Window | 48.8% | 37.5% | all |
| 416 | Partition Equal Subset Sum | Medium | Arrays; Dynamic Programming | Sorting / Prefix / Scan; State Transition | 49.5% | 37.5% | all |
| 1876 | Substrings of Size Three with Distinct Characters | Easy | Strings; Trees | Hashing / Sliding Window; DFS / BFS | 76.7% | 37.5% | all |
| 3034 | Number of Subarrays That Match a Pattern I | Medium | Arrays; Strings | Sorting / Prefix / Scan; Hashing / Sliding Window | 68.6% | 37.5% | all |
| 213 | House Robber II | Medium | Dynamic Programming | State Transition | 44.9% | 37.5% | all |
| 72 | Edit Distance | Medium | Dynamic Programming | State Transition | 60.6% | 37.5% | all |
| 2021 | Brightest Position on Street | Medium | Trees | DFS / BFS | 60.6% | 37.5% | all |
| 217 | Contains Duplicate | Easy | Arrays | Sorting / Prefix / Scan | 64.4% | 37.5% | all |
| 129 | Sum Root to Leaf Numbers | Medium | Arrays | Sorting / Prefix / Scan | 70.0% | 37.5% | all |
| 460 | LFU Cache | Hard | Design | Data Structure Design | 49.2% | 37.5% | all |
| 300 | Longest Increasing Subsequence | Medium | Dynamic Programming | State Transition | 59.4% | 37.5% | all |
| 451 | Sort Characters By Frequency | Medium | Arrays; Strings | Sorting / Prefix / Scan; Hashing / Sliding Window | 75.3% | 37.5% | all |
| 199 | Binary Tree Right Side View | Medium | Trees | DFS / BFS | 70.2% | 37.5% | all |
| 1752 | Check if Array Is Sorted and Rotated | Easy | Arrays; Binary Search | Sorting / Prefix / Scan; Binary Search | 57.3% | 37.5% | all |
| 215 | Kth Largest Element in an Array | Medium | Arrays; Heap | Sorting / Prefix / Scan; Priority Queue | 68.9% | 37.5% | all |
| 345 | Reverse Vowels of a String | Easy | Strings | Hashing / Sliding Window | 61.3% | 37.5% | all |
| 680 | Valid Palindrome II | Easy | Strings | Hashing / Sliding Window | 44.3% | 37.5% | all |
| 167 | Two Sum II - Input Array Is Sorted | Medium | Arrays | Sorting / Prefix / Scan; Two Pointers | 65.1% | 37.5% | all |
| 264 | Ugly Number II | Medium | Core DSA | Implementation / Reasoning | 49.6% | 37.5% | all |
| 62 | Unique Paths | Medium | Core DSA | Implementation / Reasoning | 66.8% | 37.5% | all |
| 1743 | Restore the Array From Adjacent Pairs | Medium | Arrays | Sorting / Prefix / Scan | 75.0% | 37.5% | all |
| 17 | Letter Combinations of a Phone Number | Medium | Strings; Backtracking | Hashing / Sliding Window; Backtracking | 66.1% | 37.5% | all |
| 332 | Reconstruct Itinerary | Hard | Core DSA | Implementation / Reasoning | 44.6% | 37.5% | all |
| 2502 | Design Memory Allocator | Medium | Design | Data Structure Design | 50.1% | 37.5% | all |
| 1046 | Last Stone Weight | Easy | Core DSA | Implementation / Reasoning | 66.5% | 37.5% | all |
| 3433 | Count Mentions Per User | Medium | Core DSA | Implementation / Reasoning | 50.8% | 37.5% | all |
| 3652 | Best Time to Buy and Sell Stock using Strategy | Medium | Core DSA | Implementation / Reasoning | 59.8% | 37.5% | all |
| 85 | Maximal Rectangle | Hard | Core DSA | Implementation / Reasoning | 58.8% | 37.5% | all |
| 135 | Candy | Hard | Core DSA | Implementation / Reasoning | 48.5% | 37.5% | all |
| 2544 | Alternating Digit Sum | Easy | Arrays | Sorting / Prefix / Scan | 69.1% | 37.5% | all |
| 503 | Next Greater Element II | Medium | Stack / Queue | Monotonic Stack / Simulation | 68.4% | 37.5% | all |
| 79 | Word Search | Medium | Strings; Binary Search | Hashing / Sliding Window; Binary Search | 47.4% | 37.5% | all |
| 88 | Merge Sorted Array | Easy | Arrays | Sorting / Prefix / Scan | 54.9% | 37.5% | all |
| 994 | Rotting Oranges | Medium | Core DSA | Implementation / Reasoning | 58.7% | 37.5% | all |
| 974 | Subarray Sums Divisible by K | Medium | Arrays | Sorting / Prefix / Scan | 56.3% | 37.5% | all |
| 128 | Longest Consecutive Sequence | Medium | Core DSA | Implementation / Reasoning | 47.1% | 37.5% | all |
| 125 | Valid Palindrome | Easy | Strings | Hashing / Sliding Window | 53.3% | 37.5% | all |
| 387 | First Unique Character in a String | Easy | Strings | Hashing / Sliding Window | 65.5% | 37.5% | all |
| 1922 | Count Good Numbers | Medium | Core DSA | Implementation / Reasoning | 57.7% | 37.5% | all |
| 435 | Non-overlapping Intervals | Medium | Arrays; Greedy | Sorting / Prefix / Scan; Greedy | 57.1% | 37.5% | all |
| 2530 | Maximal Score After Applying K Operations | Medium | Core DSA | Implementation / Reasoning | 64.1% | 37.5% | all |
| 733 | Flood Fill | Easy | Core DSA | Implementation / Reasoning | 68.3% | 37.5% | all |
| 253 | Meeting Rooms II | Medium | Greedy | Greedy | 52.7% | 37.5% | all |
| 139 | Word Break | Medium | Strings; Dynamic Programming | Hashing / Sliding Window; State Transition | 49.5% | 37.5% | all |
| 140 | Word Break II | Hard | Strings; Dynamic Programming | Hashing / Sliding Window; State Transition | 55.6% | 37.5% | all |
| 1696 | Jump Game VI | Medium | Greedy | Greedy | 46.4% | 37.5% | all |
| 1011 | Capacity To Ship Packages Within D Days | Medium | Binary Search | Binary Search | 73.9% | 37.5% | all |