Morgan Stanley took a test for it's Quantitative Analyst profile. The test had 2 sections "Easy" and "Difficult" and total duration was about 2.5 hours.
Easy
1) Prove no square matrices A, B exists such that AB-BA = I. (Hint: use trace(X))
2) Each amoeba my transform to 0 amoeba (means that it's dead), 1 amoeba (stays itself) or 2 amoebas (reproduces a child). We initially have 1 amoeba. Find probability of the process up with 0 amoeba in the end.
3) Consider all strings composed of of {0, 1, 2}. Find number of strings such that no two 1s are consecutive in the string.
4) Given X, Y are Uniform(0,1) random variables. Find distribution of X^2 + Y^2.
5) Write algorithm to find lowest common ancestor of 2 nodes in a binary tree.
6) Solve the recurrence f(a, b) = f(a, b-1) + f(a-1, b-1) with base cases
f(0, 0) = 1,
f(0, k) = 0,
f(k, 0) = 1. (Hint: Did you observe it's a Pascal Identity)
Difficult
1) Give an algorithm to find longest alternating subsequence in an array of numbers. The sequence need not be continuous. Alternating means that 1st term is greater than 2nd term, 2nd term is smaller than 3rd term and so on OR 1st term is smaller than 2nd term, 2nd term is greater than 3rd term and so on.
2) You are given a stream of numbers. Give an efficient data structure to find median of the numbers read so far from the stream in O(1) time.
3) You are given w white balls and b black balls initially in a box. Each time we randomly draw a ball from the box and remove it.We continue until no white ball is left in the box. Find the expected number of black balls in the box in the end.
4) Give a method to randomly choose any K-size subset from an N-size subset, however, N is not known to you.
5) Find all functions f, such that f(mA+nB) = mf(A) + nf(B), f(AB) = f(BA), where A, B are square matrices, find f in terms of a matrix M.
Easy
1) Prove no square matrices A, B exists such that AB-BA = I. (Hint: use trace(X))
2) Each amoeba my transform to 0 amoeba (means that it's dead), 1 amoeba (stays itself) or 2 amoebas (reproduces a child). We initially have 1 amoeba. Find probability of the process up with 0 amoeba in the end.
3) Consider all strings composed of of {0, 1, 2}. Find number of strings such that no two 1s are consecutive in the string.
4) Given X, Y are Uniform(0,1) random variables. Find distribution of X^2 + Y^2.
5) Write algorithm to find lowest common ancestor of 2 nodes in a binary tree.
6) Solve the recurrence f(a, b) = f(a, b-1) + f(a-1, b-1) with base cases
f(0, 0) = 1,
f(0, k) = 0,
f(k, 0) = 1. (Hint: Did you observe it's a Pascal Identity)
Difficult
1) Give an algorithm to find longest alternating subsequence in an array of numbers. The sequence need not be continuous. Alternating means that 1st term is greater than 2nd term, 2nd term is smaller than 3rd term and so on OR 1st term is smaller than 2nd term, 2nd term is greater than 3rd term and so on.
2) You are given a stream of numbers. Give an efficient data structure to find median of the numbers read so far from the stream in O(1) time.
3) You are given w white balls and b black balls initially in a box. Each time we randomly draw a ball from the box and remove it.We continue until no white ball is left in the box. Find the expected number of black balls in the box in the end.
4) Give a method to randomly choose any K-size subset from an N-size subset, however, N is not known to you.
5) Find all functions f, such that f(mA+nB) = mf(A) + nf(B), f(AB) = f(BA), where A, B are square matrices, find f in terms of a matrix M.
meaningful Post.............I will Visit again
ReplyDeleteMemorial Day Weekend 2017
Memorial Day 2017 Pictures
Quotes about Memorial Day
Memorial Day Greetings
Memorial Day Wallpapers
Memorial Day Quotes for Loved Ones
happy memorial day wishes facebook covers
ReplyDeletefree memorial day messages 2017
ReplyDeletehappy memorial day 2017 email messages
Fathers is going to take place on 18th June 2017. Here is best collection
ReplyDeleteFathers Day Pictures
Fathers Day Images Download
Fathers Day Quotes From Son
Fathers Day Messages From Daughter
Fathers Day Poems
Independence Day 4th Of July
ReplyDelete4th Of July 2017 Images
Fourth Of July Famous Quotes
Fourth of July Quotes
ReplyDelete4th of July Cards
Fathers Day Messages From Son
Fathers Day Quotes From Son
Happy Friendship Day 2017 Wallpapers
ReplyDeleteHappy Friendship Day Images
Happy Friendship Day 2017 Cards
Funny Friendship Day Quotes
You must check this on Caribbean Premier League live stream
ReplyDeletegreat post please check Today's match live for free
ReplyDeleteNice post F1 Highlights
ReplyDeleteHi do check out this latest post with our New Blog Post and I hope you would have enjoy all our post
ReplyDeletewho won the Voice 2017
who won the Voice 2017 USA
winner of the Voice 2017
who won the Voice 2017
the Voice season 13 winner
the Voice winner 2017
who wins the Voice 2017
the Voice winner 2017
who will win the Voice 2017
the Voice USA 2017 winner Predictions
who won the Voice 2017
who won the Voice 2017 USA
winner of the Voice 2017
who won the Voice 2017
the Voice season 13 winner
the Voice winner 2017
who wins the Voice 2017
the Voice winner 2017
who will win the Voice 2017
the Voice USA 2017 winner Predictions
Nice Dear Click here
ReplyDeleteAwesome dearKUMKUM BHAGYA
ReplyDeleteThanks Click Here for more information
ReplyDeleteClick Here is best site for mobile flash file
ReplyDelete
ReplyDeleteClick Here is best site for download games
Click To Download for best pc software you can get here
ReplyDeleteVery Informative and useful, keep it up the great work. For free free download fully pc games, you may also visit us. Ocean of Games
ReplyDeleteHi do check out this latest post with our New Blog Post and I hope you would have enjoyed all our post
ReplyDeletethe Voice winner 2018
who wins the Voice 2018
the Voice Season 14 who will win
the Voice winner 2018
the Voice winner 2018
the Voice USA who will win
American got Talent Start Date
American Television Upcoming Shows Episode Telecast
American Television Winner Spoiler Wiki Predictions
who won the Voice UK
who will win the Voice UK
The Voice UK Winner Name
The Voice Australia premiere Start Date
The Voice Australia Winner Name
The Voice Australia Blind Audition Episodes
American Idol Episodes Winner Spoiler
American Idol Spoiler Start Date Schedule
American Idol Spoiler Winner Predictions
American Idol Episodes Winner Spoiler
American Idol Spoiler Start Date Schedule
American Idol Spoiler Winner Predictions
Get latest sports info at
ReplyDeletehttps://sportstime.info/
thanks for sharing
ReplyDeleteova games
Happy Fathers Day Wishes
ReplyDeleteHappy Fathers Day Images Quotes
Fathers Day Wishes From Son
ReplyDeleteHappy Fathers Day Messages
Happy 4th of July Quotes Sayings
ReplyDeleteHappy Fourth of July Pictures
4th Of July Greetings 2018
very nice website on this topic. Would like to read more. Here is the link to my website
ReplyDeleteImages For 4th Of July 2018
Fourth Of July Quotes
4th Of July 2018 Messages
Your website has very good content. Here is link to another website that has useful content
ReplyDeleteFriendship Day SMS
Fortnite Android Apk for apk games
ReplyDeleteThe icoshowcase is a platform to analyze and rate all the latest ICO list like upcoming Icos, active Icos and Ico calendar. Even anyone can list their Icos for free on the site. Stay tuned on the site for further information about latest ICO list in 2018.
ReplyDeleteIco list
upcoming icos
ico calendar
active icos
Very Nice Article to read. Blog articles helped me alot in many ways to find the good solution. Am very happy to comments here. Thanks for sharing this kind of wonderful article in this blog. Lovely ! Kindly Visit Us @ CCTV Camera Supplier MATRIX dealers
ReplyDeletePackers and Movers Indore
ReplyDeletePackers and Movers Bangalore
Packers and Movers Gurgaon
Best Packers and Movers Indore
Packers and Movers Kolkata
Packers and Movers Mumbai
Packers and Movers Nagpur
Packers and Movers Delhi
Packers and Movers Pune
Packers and Movers Ahmedabad
شركة تنظيف سجاد بالمدينة المنورة
ReplyDeleteشركتنا واحدة من أفضل شركات تنظيف سجاد بالمدينة المنورة وهذا ما يجعلنا أهلا لثقة العملاء الذين يتعاملون معنا حيث يفضلون التعامل مع شركتنا لما تتميز به فى هذا المجال أن لدينا كافة الأدوات الحديثة التى تشمل معدات التنظيف بالبخار و أدوات التنظيف الآلي الحديث و كافة أنواع الخامات الحديثة و المتطورة التى لا تؤثر على الأقمشة والمنسوجات و تزيل كافة أنواع البقع فى أسهل طريقة وتمتلك الآلات الخاصة بالتجفيف السريع و أدوات التحميل و التنزيل الخاصة بتنزيل كميات كبيرة من السجاد و معدات عملاقة تقوم بعمليات التنظيف فى أسهل طريقة و بأسرع ما يمكن سيارات تابعة للشركة تنتقل الى مكان العميل لتقوم بنقل كافة أنواع السجاد.
back corrector
ReplyDeleteClick Here
back brace
Click Here
posture brace
ReplyDeleteAmazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live. I have bookmarked more article from this website. Such a nice blog you are providing ! Kindly Visit Us @ Packers And Movers Mumbai
Back Brace
ReplyDeleteback posture
click here
back brace
Back Brace
posture brace
click here
click here
click here
ReplyDeletesite
chimney
check it out
see this
best chimney in india
kitchen chimney
official site
see this
best kitchen chimney
best washing machine india
ReplyDeletebest top load machine
see this
see this
have a look
official site
top load washing machine
check this out
click here
see this
Tyson vs Jones Jr Live Stream following through their official Facebook page. Like other social platform here also we have our official Facebook page you can enjoy the show to go through our page.
ReplyDeleteThe first SB live stream was played between the AFL champion Kansas City Chiefs and the NFL champion Green Bay Packers. The Packers would win the game by a score of 35-10. Green Bay would go on to win the Super Bowl again the following year, this time against the Oakland Raiders of the AFL.
ReplyDeleteIf you search in the community like Reddit, Twitter, Youtube. You will find some users directly broadcast the Commetraty of the events. You can get the watch ufc 257 live fight result in real-time.
ReplyDeleteMayweather proved all of his fans wrong, and with the announcement of playing another exhibition match against mayweather vs paul twitter on 6 June 2021 . Although neither Mayweather’s nor Logan’s camps have said anything about the motivation behind organizing such unmatched yet utterly lucrative exhibition match. The match’s venue and time are yet to be announced, yet it is drawing millions of people’s interest already on pay-per-view.
ReplyDelete
ReplyDeleteseo consultant in pakistan
company formation in oman
ikea lights
health insurance denial