bny mellon logo

Bny Mellon Interviews

1 experience3 reads
List of Questions for BNY Mellon
bny mellon logo
Bny Mellon
April 6, 20223 reads

Summary

I wanted to share a compilation of detailed questions that were presented during my interview process at BNY Mellon.

Full Experience

I encountered these specific questions during my recent interview rounds at BNY Mellon. I hope that by sharing them, I can assist fellow LeetCoders in their preparation and learning journey. These problems required a solid understanding of data structures and algorithms, pushing me to think through various approaches.

Interview Questions (4)

Q1
Total Distance to Duplicate Elements
Data Structures & Algorithms

Given an array of integers, print out an array where at each index i, the total distance from i to every other duplicate element of i in the array is shown. For example, if the array was [1,3,1,1,2], the answer would be: [5,0,3,4,0].

Q2
Minimum Moves to Sort Array by Moving to End
Data Structures & Algorithms

Given an array of distinct integers, you may sort it by moving any element to the end of the array. Find the minimum number of moves to sort the array.

Q3
Maximum Gap After Removing Bars
Data Structures & Algorithms

Given N horizontal bars (numbered 1,2,...,N) and M vertical bars (1,2,...,M). There are list of X horizontal bars and Y vertical bars given which needs to be removed. After removal of given list of bars, we need to return the maximum gap which has been formed.

Q4
Max K for KxK Submatrix Sum Threshold
Data Structures & Algorithms

Find maximum value of k such that each kXk submatrix has sum less than or equal to givenSum.

Have a Bny Mellon Interview Experience to Share?

Help other candidates by sharing your interview experience. Your insights could make the difference for someone preparing for their dream job at Bny Mellon.