# 5M

interview questions shared by candidates

## Top Interview Questions

Sort: Relevance|Popular|Date
Portfolio Management Group-Fixed Income Analyst was asked...November 21, 2010

### You have a birthday cake and have exactly 3 slices to cut it into 8 equal pieces. How do you do it?

Assuming the cake is square: slice 1: cut horizontally to create 2 equal pieces slice 2: cut vertically to create 4 equal pieces slice 3: line up all 4 pieces of cake side by side and cut horizontally to create 8 equal pieces. don't stack, it will ruin the frosting. Less

Cut each slice into 3 slices. Then eat one of them.

Slice it horizontally across the middle creating two equal halves top and bottom. Then simple two slice cross from above like normal. Less

### How did you design a performance management system? And was it successful? Why or why not?

Sorry, I didn't mean to vote this comment down; It was a mistake and can only vote once. Thanks Less

Greetings to every one that is reading this testimony. I had been rejected by my husband after five(5) years of marriage just because another woman had cast a spell on him and he left me with 2 kids to suffer. One day when i was reading through the web, i saw a post on how he help a woman to get back her husband and i gave him a chance he told me that my husband is under spell, he said that he will help me and after 7 days that i will have my husband back. i believed he and today i am glad to let you all know that this spell caster has the power to bring lovers back now my husband is back with after 7 days . he also gave me a financial magic ring to boost my business and removed bad luck. i am now happy with my husband. Thanks you Dr. love please contact him at (lovespelldoctor0@gmail. com) Less

### You have a 100 coins laying flat on a table, each with a head side and a tail side. 10 of them are heads up, 90 are tails up. You can't feel, see or in any other way find out which side is up. Split the coins into two piles such that there are the same number of heads in each pile.

Split into two piles, one with 90 coins and the other with 10. Flip over every coin in the pile with 10 coins. Less

Pick 10 coins from the original 100 and put them in a separate pile. Then flip those 10 coins over. The two piles are now guaranteed to have the same number of heads. For a general solution of N heads and a total of M coins: 1.) Pick any N coins out of the original group and form a second pile. 2.) Flip the new pile of N coins over. Done. Example (N=2, M=6): Original group is HHTTTT (mixed randomly). Pick any two of these and flip them over. There are only three possible scenarios: 1: The two coins you picked are both tails. New groups are {HHTT} {TT} and when you flip the 2nd group you have {HHTT} and {HH}. 2.) The two coins you picked consist of one head and one tail. New groups are {HTTT} and {HT} and when you flip the 2nd group you have {HTTT} and {TH}. 3.) The two coins you picked are both heads. New groups are {TTTT} and {HH} and when you flip the 2nd group you have {TTTT} and {TT}. Less

### How would you handle a situation where you have a client who interrupt your existing interaction with a client?

I apologize and ask him or her to please step in line and I’ll be right with them. If they interrupt I say understand completely and look for a manager. If there isn’t one available, I’d ask for the source of their urgency. If it’s just them being difficult without an interest in telling me their issue I’d tell them I’ll be with them shortly, I just have to help another customer. Really it helps to keep things short and simple, moving along as quickly as possible with other tasks at hand. Less

I politely tell the client who interrupted to please standby and that I will be able to answer their questions/handle their issues shortly. If they need immediate attention I will call a member of the team to assist. Less

Jessica Cross

### Explain reasonable accommodation in regards to the ADA.

Hello am here to testify of a great and powerful spell caster. my Wife left me and my two kids for a couple months, I tried to beg her even I called her, she didn't pick up when she came back home the 3rd week she told me she wanted a divorce I was so sad I cried all night he left again I was so lonely the next day I was searching for something online when i found a spell caster called DR ODUDUWA, who have helped so many people with their various issues and problems, so I contacted him with my problems he told me it will take 24hrs and my Wife will be back to me I did everything he told me to do and the next day very early my wife came back kneeling and begging she canceled the divorce we are now happy together all thanks to DR ODUDUWA he also cure HIV/AIDS HEPATITIS. LOW SPERM COUNT. CANCER DISEASES. FIBROID DISEASES. GONORRHEA FALLOPIAN TUBE. PREGNANCY. HIGH BLOOD PRESSURE HERPES lottery spell...he can also help you too, contact him directly if you need his assistance on EMAIL....droduduwa2@ gmail.com or whatsapp him +2349019861336 Less

Hello am here to testify of a great and powerful spell caster. my Wife left me and my two kids for a couple months, I tried to beg her even I called her, she didn't pick up when she came back home the 3rd week she told me she wanted a divorce I was so sad I cried all night he left again I was so lonely the next day I was searching for something online when i found a spell caster called DR ODUDUWA, who have helped so many people with their various issues and problems, so I contacted him with my problems he told me it will take 24hrs and my Wife will be back to me I did everything he told me to do and the next day very early my wife came back kneeling and begging she canceled the divorce we are now happy together all thanks to DR ODUDUWA he also cure HIV/AIDS,HEPATITIS,LOW SPERM COUNT,CANCER DISEASES,FIBROID DISEASES,GONORRHEA,GONORRHEA,FALLOPIAN TUBE,PREGNANCY,HERPES,lottery spell. he can also help you too, contact him directly if you need his assistance on EMAIL....droduduwa2@ gmail.com or whatsapp him +2349019861336 Less

Love spell doctor has brought my husband back to me after 6 months of separation. My husband left me and wanted a divorce because of a young girl who is young enough to be her daughter. Your love spell has reunited my family once again after mourning and tears that I am now a single mom, but my teas has turn to Joy with your amazing return lover spell. I am grateful for everything. Anyone experiencing heartbreak and needs their lover back should contact lovespelldoctor0@gmail. com and that will be the end of your problems in that relationship. Less

### An array of 99 elements contains integers from 1 to 100 with one missing element. Find the missing element.

1. calculate the sum of elements in array say SUM 2. sum of numbers 1 to 100 is(n* (n+1))/2 = 5050 when n==100 3. missing element is (5050-SUM) Less

Sum them and then subtract them from 5050. In general, if an array of size n - 1 elements has unique elements from 1 to n, then the missing element can be found by subtracting the sum of the elements in the array from sum(1 ... n) = n * (n + 1) / 2. Alternately, one could use a boolean array of length n with all values set to false and then for each value, set array[val - 1] to true. To find the missing value, scan through the array and find the index which is set to false. Return index + 1. This requires O(n) memory and two passes over an O(n) array (instead of constant memory and one pass), but has the advantage of actually allowing you to verify whether or not the input was well formed. Less

Read the question. Here are the steps to solve it: 1) find the sum of integers 1 to 100 2) subtract the sum of the 99 members of your set 3) the result is your missing element! Very satisfying! Less

### Find the second largest element in a Binary Search Tree

The above answer is also wrong; Node findSceondLargest(Node root) { // If tree is null or is single node only, return null (no second largest) if (root==null || (root.left==null &amp;&amp; root.right==null)) return null; Node parent = null, child = root; // find the right most child while (child.right!=null) { parent = child; child = child.right; } // if the right most child has no left child, then it's parent is second largest if (child.left==null) return parent; // otherwise, return left child's rightmost child as second largest child = child.left; while (child.right!=null) child = child.right; return child; } Less

find the right most element. If this is a right node with no children, return its parent. if this is not, return the largest element of its left child. Less

One addition is the situation where the tree has no right branch (root is largest). In this special case, it does not have a parent. So it's better to keep track of parent and current pointers, if different, the original method by the candidate works well, if the same (which means the root situation), find the largest of its left branch. Less

### The manager of component 'A' says his functionality is more important than that of component 'B.' The manager of component 'B' says his is more important than that of component 'A.' You can only implement one A or B, but not both - which do you choose to implement.

The key question to ask is definition of "IMPORTANT". Is it important to the managers (ego equation), important to the end consumer or important for Amazon. The first one needs to be thrown out immediately and the others must be quantified based on achievability, impact on end user and ROI. Less

I would say whichever is more valuable to customer &amp; gives competitive advantage to Amazon. Less

Agreed. Need to drill into what "important" means. Great catch My guess is that Amazon was looking to quantify/define "important" from the customer perspective. Less

### You are in a boat in a pool with a rock in your hand. You throw the rock into the pool. Does the water level rise, drop, or stay the same?

If the rock were neutrally buoyant the water level would remain the same. It is heavier than water which causes it to displace more than its own volume while in the boat compared to at the bottom of the lake. Therefore the water level of the lake would go down. Less

These answers are troubling. The only correct answer so far is Ben. The water level goes down. Less

The weight of the boat plus you plus the rock has already displaced the height of the water. The only time the water level will change will be when the rock is mid air. Less