0 day streak

BNY coding interview questions

BankingFintech India Machine coding / LLD

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
Your level: practise every reported question.
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Cherry Pickup2D DP Hard Dynamic Programming Tower Research Capital, Akuna Capital, Citrix +5 Solve
LFU CacheLinked Lists Hard Design Data Structures Amazon, Apple, Netflix +37 Solve
Minimize Malware SpreadConnected Components Hard Graphs DoorDash, Dropbox, Visa +3 Solve
Car FleetMonotonic Stack Medium Monotonic Stack Nutanix, Waymo, PhonePe +2 Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +107 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +114 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +101 Solve
Kth Largest Element in an ArrayTop K / Kth Largest / Smallest Medium Heaps Amazon, Meta, Apple +51 Solve
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +140 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Amazon, Microsoft +68 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +82 Solve
Palindromic SubstringsStrings Medium Dynamic Programming Agoda, Akamai, Anduril +15 Solve
Merge Sorted ArrayTwo Pointer Easy Arrays & Hashing Meta, Apple, Nvidia +40 Solve
Maximize Area of Square Hole in GridHash Set Lookup Medium Arrays & Hashing Swiggy Solve
0 - 1 Knapsack ProblemKnapsack Medium Dynamic Programming Coinbase, Goldman Sachs, D. E. Shaw +13 Solve
Binary Tree Maximum Path SumPostorder + Multiple Return Values Hard Trees & BST Google, Amazon, Meta +29 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Apple +79 Solve
Two Sum II - Input Array Is SortedTwo Pointer Medium Arrays & Hashing Wayfair, Target, JPMorgan Chase +5 Solve
Convert Binary Number in a Linked List to IntegerBasics Easy Bit Manipulation Nutanix, Arista Networks, Juniper Networks +3 Solve
Valid ParenthesesStack Basics Easy Stack Google, Amazon, Microsoft +119 Solve
Integer to RomanGreedy Medium Arrays & Hashing DoorDash, Booking.com, X (Twitter) +21 Solve
Move ZeroesTwo Pointer Easy Arrays & Hashing Amazon, Microsoft, Meta +42 Solve
Design HashMapPre-processing + tradeoffs Easy Design Data Structures Apple, Nvidia, Snowflake +25 Solve
Implement Trie (Prefix Tree)Basics Medium Tries Google, Microsoft, Meta +25 Solve
Linked List CycleSlow Fast Pointers Easy Linked List Microsoft, Apple, Nvidia +67 Solve
Sort an ArrayMerge Sort Like Approach Medium Arrays & Hashing Apple, Confluent, Salesforce +27 Solve
Reverse StringTwo Pointer Easy Arrays & Hashing Nvidia, Snowflake, Electronic Arts +37 Solve
Water and Jug ProblemMath / Number Theory Medium Arrays & Hashing Lyft, Snap, PhonePe +3 Solve
Fibonacci Number1D DP Easy Dynamic Programming Spotify, Instacart, Zillow +38 Solve
Also reported, being added to AlgoRung (11)

Lexicographically Maximum MEX Array · Find the Maximum Length of a Good Subsequence II · Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts · Count Visited Nodes in a Directed Graph · Sum of Distances · Minimize Length of Array Using Operations · Bitwise ORs of Subarrays · Count Number of Maximum Bitwise-OR Subsets · Count Good Subarrays · Find the Count of Monotonic Pairs II · Maximum Side Length of a Square with Sum Less than or Equal to Threshold

Questions people ask

What coding questions does BNY ask most?

Cherry Pickup, LFU Cache, Minimize Malware Spread, Car Fleet, Merge Intervals, Longest Substring Without Repeating Characters, Best Time to Buy and Sell Stock, Kth Largest Element in an Array.

Which topics come up in BNY coding rounds?

dynamic programming, graphs, greedy, arrays, strings, linked list.

How hard are BNY coding questions?

Of the reported questions, 9 are easy, 16 medium and 4 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.