BNY Mellon interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

BNY Mellon
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, Algorithms, OOPs , Dynamic Programming, Core C Concepts, Competitive Programming
Tip
Tip

Tip 1 : Participate regularly in coding contests on various platforms such as Leetcode , Codeforces , Codechef.
Tip 2 : Go through many different approaches to solve a problem and also visit Leetcode discuss section it is very helpful.
Tip 3 : Do atleast 2 projects.

Application process
Where: Campus
Eligibility: above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Don't make resume more than one page.
Tip 2 : Put only those things in resume which you are confident don't try to bluff in resume.

Interview rounds

01
Round
Hard
Video Call
Duration60 Minutes
Interview date4 Sep 2021
Coding problem1

it was afternoon.
interviewer was supportive.

1. Container With Most Water

Moderate
15m average time
90% success
0/80
Asked in companies
BNY MellonAmazonSAP Labs

Given a sequence of ‘N’ space-separated non-negative integers A[1],A[2],A[3],......A[i]…...A[n]. Where each number of the sequence represents the height of the line drawn at point 'i'. Hence on the cartesian plane, each line is drawn from coordinate ('i',0) to coordinate ('i', 'A[i]'), here ‘i’ ranges from 1 to ‘N’. Find two lines, which, together with the x-axis forms a container, such that the container contains the most area of water.

Note :
1. You can not slant the container i.e. the height of the water is equal to the minimum height of the two lines which define the container.

2. Do not print anything, you just need to return the area of the container with maximum water.
Example

water-diagram

For the above Diagram, the first red marked line is formed between coordinates (2,0) and (2,10), and the second red-marked line is formed between coordinates (5,0) and (5,9). The area of water contained between these two lines is (height* width) = (5-2)* 9 = 27, which is the maximum area contained between any two lines present on the plane. So in this case, we will return 3* 9=27.
Problem approach

it can be solved by two pointer approach at each stage we can calculate what is the maximum water that can be trapped. and we will increment left pointer or decrement right pointer accordingly whichever side is smaller we will leave it until left pointer moves beyond right pointer or they are at same place.

Try solving now
02
Round
Easy
Video Call
Duration60 Minutes
Interview date4 Sep 2021
Coding problem1

it was in evening. Interviewer was good.

1. Group Anagrams

Moderate
30m average time
70% success
0/80
Asked in companies
AmazonAtlassianThales

You have been given an array/list of strings 'inputStr'. You are supposed to return the strings as groups of anagrams such that strings belonging to a particular group are anagrams of one another.

An anagram is a word or phrase formed by rearranging the letters of a different word or phrase. We can generalize this in string processing by saying that an anagram of a string is another string with the same quantity of each character in it, in any order.

Note:
The order in which the groups and members of the groups are printed does not matter.
For example:
inputStr = {"eat","tea","tan","ate","nat","bat"}
Here {“tea”, “ate”,” eat”} and {“nat”, “tan”} are grouped as anagrams. Since there is no such string in “inputStr” which can be an anagram of “bat”, thus, “bat” will be the only member in its group.
Problem approach

firstly sort all the strings ( as we know that all the anagrams after sorting become the same string) and then we can easily solve it by using hashmap and recording indices.

Try solving now
03
Round
Easy
HR Round
Duration45 minutes
Interview date4 Sep 2021
Coding problem1

HR was very supportive. he asked about my family background and some easy aptitude related problems.

1. Basic HR questions

how much maximum score a batsman can score in ODI of 50 overs

Problem approach

Tip 1 : I he hits 5 sixes on first 5 balls of every over and on the last ball he can take3 runs by running and by this he can again come on strike in a cricket match.
Tip 2 : You can also ask whether i have to consider the cases of throwby , legby or not.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by BNY Mellon
2348 views
0 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 6 problems
Interviewed by BNY Mellon
0 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by BNY Mellon
1159 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by BNY Mellon
1374 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Arcesium
3738 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Arcesium
2683 views
0 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 8 problems
Interviewed by NCR Corporation
2288 views
0 comments
0 upvotes