• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 18:41
CEST 00:41
KST 07:41
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL51Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Statistics for vetoed/disliked maps The SCII GOAT: A statistical Evaluation The GOAT ranking of GOAT rankings How does the number of casters affect your enjoyment of esports? Esports World Cup 2025 - Final Player Roster
Tourneys
Korean Starcraft League Week 77 Master Swan Open (Global Bronze-Master 2) RSL: Revival, a new crowdfunded tournament series [GSL 2025] Code S: Season 2 - Semi Finals & Finals $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Flash Announces Hiatus From ASL Player “Jedi” cheat on CSL Unit and Spell Similarities Help: rep cant save
Tourneys
[Megathread] Daily Proleagues [BSL20] Grand Finals - Sunday 20:00 CET Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Trading/Investing Thread Russo-Ukrainian War Thread The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 597 users

Math-related Interview Questions

Blogs > DTK-m2
Post a Reply
Normal
YejinYejin
Profile Blog Joined July 2009
United States1053 Posts
March 29 2011 08:54 GMT
#1
So I'm an undergraduate first-year in NYC, and I'm looking to go into finance. Now a lot of these firms will ask you the cliche interview questions. "What can you bring to the team? What is your greatest weakness?" Blah blah blah, shit like that. However, a lot of these firms will also ask you more technical math questions.

Some institutions, like Jane Street Capital, are famous for these. They just ask you really hard math questions.

I was wondering if any of you had these. And they're not just so I can use them to see what they're like, but I think it'd be nice to get a compilation going.

For example, here are some I have:

1.) 25 horses, five lanes, no stopwatch. Find the 3 fastest horses in as few races as possible.

2.) 30 strings. Two parallel rows of 30 holes. Each of the 30 strings goes through one of the 30 holes in the first row, and then one of the 30 holes in the second row. What is the expected number of crossovers, where one string overlaps the other?

3.) 2 strings, a box of matches. Each of the strings takes an hour to burn from end to end. However, they don't burn uniformly, so one inch of the string could take 59 minutes to burn through, and the rest burns up in a minute. Measure 15 minutes of time.

Also, does anyone know what level of math they want? I made AIME in high school and got an 11, and went to a bunch of those national math competitions (ARML, HMMT, PuMAC), but there are definitely people who are better than me who have been rejected.

Anyone who actually works at Jane Street or DE Shaw or some other big and famous firm is welcome to post here. I could use literally any advice.

*****
안지호
iSTime
Profile Joined November 2006
1579 Posts
Last Edited: 2011-03-29 09:23:38
March 29 2011 09:22 GMT
#2
On March 29 2011 17:54 DTK-m2 wrote:
So I'm an undergraduate first-year in NYC, and I'm looking to go into finance. Now a lot of these firms will ask you the cliche interview questions. "What can you bring to the team? What is your greatest weakness?" Blah blah blah, shit like that. However, a lot of these firms will also ask you more technical math questions.

Some institutions, like Jane Street Capital, are famous for these. They just ask you really hard math questions.

I was wondering if any of you had these. And they're not just so I can use them to see what they're like, but I think it'd be nice to get a compilation going.

For example, here are some I have:

1.) 25 horses, five lanes, no stopwatch. Find the 3 fastest horses in as few races as possible.

2.) 30 strings. Two parallel rows of 30 holes. Each of the 30 strings goes through one of the 30 holes in the first row, and then one of the 30 holes in the second row. What is the expected number of crossovers, where one string overlaps the other?

3.) 2 strings, a box of matches. Each of the strings takes an hour to burn from end to end. However, they don't burn uniformly, so one inch of the string could take 59 minutes to burn through, and the rest burns up in a minute. Measure 15 minutes of time.

Also, does anyone know what level of math they want? I made AIME in high school and got an 11, and went to a bunch of those national math competitions (ARML, HMMT, PuMAC), but there are definitely people who are better than me who have been rejected.

Anyone who actually works at Jane Street or DE Shaw or some other big and famous firm is welcome to post here. I could use literally any advice.


I think this is correct:

1) 7. Race them in groups of 5. Race the winners of those groups. Then race the only 5 that could potentially be 2nd or 3rd (you can work that out, it's easy to see)

2) Err, misread the problem. I'll do it later.

3) Start one burning at one end, the other at both. After the latter burns entirely light the other end of the first. From that point until it finishes burning is 15 minutes.
www.infinityseven.net
eluv
Profile Joined August 2010
United States1251 Posts
March 29 2011 09:35 GMT
#3
I'm not planning on going into finance, but I have a lot of friends who interview for these sort of things. A couple of the questions they've been asked:

4) You're in the center of a circular lake. There's a wolf on the edge that runs 4 times faster than you swim. He will always take the shortest path to the closest point on the shore to your current location. How do you escape?

5) There are 100 people in separate rooms. They can talk as much as they want until they "begin." Once they begin, they are called one at a time, in no particular order, into another room. In this room is only a light switch that turns on and off a lightbulb in the room. Noone can see the lightbulb unless they are in the room, and the only thing you can do in the room is check the lightbulb, turn it on, or turn it off. How do the people know when all 100 have been called? (You can be called more than once before everyone else has gone once).

6) An explorer lands on an island run by a cult. In this cult, if you know your own eye color, you must kill yourself. There are 500 blue-eyed people on the island and 500 brown-eyed people, but obviously they don't know this. Every night there is a meeting, at the end of which, if you know your eye color you must kill yourself. Before leaving, the explorer attends one of these meetings, and says where everyone can hear "It's so nice to see another blue-eyed person" then escapes. What happens and when?
"Yes I fucked my way to the GSL partnership" - Sundance
Marradron
Profile Blog Joined January 2009
Netherlands1586 Posts
March 29 2011 10:00 GMT
#4
Responding to PJ. How do you know you dont have a starting group with the 3 best horses. Your way doesnt work since you cant assume the best horses are in different groups
Mi.rai
Profile Joined October 2010
178 Posts
Last Edited: 2011-03-29 10:44:43
March 29 2011 10:17 GMT
#5
edit: never mind, i think 7 is correct found the question and answer from another site.

+ Show Spoiler +

Race all 25 horses in groups of 5. Call the groups A, B, C, D and E. Call the winners from each of these races A1, B1, C1, D1, and E1. That's 5 races so far, and any horse who came in 4th or 5th in any race is out.

Now, race A1, B1, C1, D1, and E1 together. That's 6 races. Let's just assume that A1 wins, B1 is second, and C1 is third. That means:

(1) A1 is definitely the fastest horse overall.
(2) Any horse from group D or group E is out. (3) Any horse from group C, other than C1, is definitely out -- they lost to C1, who was third in the winners' race; thus for example, C2 is fourth fastest at best.
(4) B3 is out. He came in third to B1, thus he's at best 4th fastest overall.

Thus the only remaining horses vying for contention are A1, A2, A3, B1, B2, and C1. We know A1 is definitely the fastest. Thus race A2, A3, B1, B2, and C1 together. That's 7 races. The winner and second-place finisher of this race are the second and third-fastest overall.
paper
Profile Blog Joined September 2004
13196 Posts
Last Edited: 2011-03-30 21:16:22
March 29 2011 10:23 GMT
#6
On March 29 2011 19:00 Marradron wrote:
Responding to PJ. How do you know you dont have a starting group with the 3 best horses. Your way doesnt work since you cant assume the best horses are in different groups


Picture this:

Columns are groups of horses in fives. They are conveniently sorted from fastest to slowest from the top left to the bottom right because... The first five races give you the top runners from each group. Throw the top runners from each group in a sixth race. You now have your guaranteed fastest horse at the most top left position. The seventh race has the leftover five horses marked by the orange circles (excluding the fastest horse at the upper left corner). The two winners are the remainder of your three fastest horses.

That's just how I see it though ;p
Hates Fun🤔
Joementum
Profile Blog Joined October 2010
787 Posts
March 29 2011 10:30 GMT
#7
OP. You created an awesome thread. I didn't even know firms asked these questions and I'm a finance major =X.
A marine walks into a bar and asks, "Wheres the counter?"
micronesia
Profile Blog Joined July 2006
United States24666 Posts
March 29 2011 10:37 GMT
#8
On March 29 2011 18:35 eluv wrote:
4) You're in the center of a circular lake. There's a wolf on the edge that runs 4 times faster than you swim. He will always take the shortest path to the closest point on the shore to your current location. How do you escape?

What is the answer to this one? If you start 1 inch to the left side of the middle, wait for the wolf to go to the left side, then make a break towards the right side he will beat you there since .5C = pi*r < 4r.

Is it some type of spiral shape taking advantage of the wolf's position? I don't know how to show that mathematically.
ModeratorThere are animal crackers for people and there are people crackers for animals.
paper
Profile Blog Joined September 2004
13196 Posts
Last Edited: 2011-03-29 10:41:55
March 29 2011 10:39 GMT
#9
On March 29 2011 19:37 micronesia wrote:
Show nested quote +
On March 29 2011 18:35 eluv wrote:
4) You're in the center of a circular lake. There's a wolf on the edge that runs 4 times faster than you swim. He will always take the shortest path to the closest point on the shore to your current location. How do you escape?

What is the answer to this one? If you start 1 inch to the left side of the middle, wait for the wolf to go to the left side, then make a break towards the right side he will beat you there since .5C = pi*r < 4r.

Is it some type of spiral shape taking advantage of the wolf's position? I don't know how to show that mathematically.


IIRC if you spiral your path (or just row away from the ogre) you'll end up on the opposite side of the lake or at some point where you can just row straight toward shore and get away ;o
Hates Fun🤔
Chriamon
Profile Joined April 2010
United States886 Posts
Last Edited: 2011-03-29 10:50:32
March 29 2011 10:46 GMT
#10
On March 29 2011 19:37 micronesia wrote:
Show nested quote +
On March 29 2011 18:35 eluv wrote:
4) You're in the center of a circular lake. There's a wolf on the edge that runs 4 times faster than you swim. He will always take the shortest path to the closest point on the shore to your current location. How do you escape?

What is the answer to this one? If you start 1 inch to the left side of the middle, wait for the wolf to go to the left side, then make a break towards the right side he will beat you there since .5C = pi*r < 4r.

Is it some type of spiral shape taking advantage of the wolf's position? I don't know how to show that mathematically.

You just start swimming directly away from the wolf, and then you constantly turn your path to swim directly away from the wolf. You will end up spiraling, but you will slowly get closer to the edge while the wolf will never make any progress around the circle towards you.
http://us.battle.net/sc2/en/profile/274906/1/Blaze/
endy
Profile Blog Joined May 2009
Switzerland8970 Posts
March 29 2011 10:50 GMT
#11
On March 29 2011 19:46 Chriamon wrote:
Show nested quote +
On March 29 2011 19:37 micronesia wrote:
On March 29 2011 18:35 eluv wrote:
4) You're in the center of a circular lake. There's a wolf on the edge that runs 4 times faster than you swim. He will always take the shortest path to the closest point on the shore to your current location. How do you escape?

What is the answer to this one? If you start 1 inch to the left side of the middle, wait for the wolf to go to the left side, then make a break towards the right side he will beat you there since .5C = pi*r < 4r.

Is it some type of spiral shape taking advantage of the wolf's position? I don't know how to show that mathematically.

You just start swimming directly away from the wolf, and then you constantly turn your path to swim directly away from the wolf. You will end up spiraling, but you will slowly get closer to the edge while the wolf will never make any progress around the circle towards you. (or maybe he will make progress, i havent done the math)


I still don't get it
ॐ
Joementum
Profile Blog Joined October 2010
787 Posts
Last Edited: 2011-03-29 10:55:24
March 29 2011 10:54 GMT
#12
On March 29 2011 19:50 endy wrote:
Show nested quote +
On March 29 2011 19:46 Chriamon wrote:
On March 29 2011 19:37 micronesia wrote:
On March 29 2011 18:35 eluv wrote:
4) You're in the center of a circular lake. There's a wolf on the edge that runs 4 times faster than you swim. He will always take the shortest path to the closest point on the shore to your current location. How do you escape?

What is the answer to this one? If you start 1 inch to the left side of the middle, wait for the wolf to go to the left side, then make a break towards the right side he will beat you there since .5C = pi*r < 4r.

Is it some type of spiral shape taking advantage of the wolf's position? I don't know how to show that mathematically.

You just start swimming directly away from the wolf, and then you constantly turn your path to swim directly away from the wolf. You will end up spiraling, but you will slowly get closer to the edge while the wolf will never make any progress around the circle towards you. (or maybe he will make progress, i havent done the math)


I still don't get it


Keep swimming straight, but make sure your back is to the wolf the entire time. You will be at the farthest point from the wolf the entire time and you will spiral out of the lake slowly. When you get out, he will still be across the lake from you. I don't know the math behind it though...
A marine walks into a bar and asks, "Wheres the counter?"
Chriamon
Profile Joined April 2010
United States886 Posts
Last Edited: 2011-03-29 11:08:12
March 29 2011 11:03 GMT
#13
Also, I saw an interesting explanation about #6. There is a variation at http://terrytao.wordpress.com/2008/02/05/the-blue-eyed-islanders-puzzle/
Basically, assuming that the islanders are all incredibly smart, and they know each other are smart, and assuming they know that the explorer is not lying, + Show Spoiler +
All of the blue eyed people would commit suicide in 501 days


this problem is actually the example on http://en.wikipedia.org/wiki/Common_knowledge_(logic)
http://us.battle.net/sc2/en/profile/274906/1/Blaze/
slmw
Profile Blog Joined October 2010
Finland233 Posts
Last Edited: 2011-03-29 11:16:00
March 29 2011 11:08 GMT
#14
Let R be the radius of the lake.

If you're at 1/4 * R distance from the center, you swim as fast as the wolf runs if you swim in a circle.
That means that at 1/4*R - Ɛ you can swim the inner circle faster than the wolf runs the outer circle, meaning that after you've swum long enough, your distance to the outer circle is 3/4*R ( + Ɛ) , and the wolf's distance to the same spot is π*R.

[image loading]

π*R / (3/4*R) = 4π/3 = 4,1888 > 4
endy
Profile Blog Joined May 2009
Switzerland8970 Posts
March 29 2011 11:17 GMT
#15
On March 29 2011 20:08 slmw wrote:
Let R be the radius of the lake.

If you're at 1/4 * R distance from the center, you swim as fast as the wolf runs if you swim in a circle.
That means that at 1/4*R - Ɛ you can swim the inner circle faster than the wolf runs the outer circle, meaning that at 1/4*R your distance to the outer circle is 3/4*R ( + Ɛ) , and the wolf's distance to the same spot is π*R.

[image loading]

π*R / (3/4*R) = 4π/3 = 4,1888 > 4


Thanks for the explanation, I think I get it now. So you only spiral until you are at at R/4 distance from the center and that the wolf is at the total opposite direction. Then swim straight to the shore, right ?
ॐ
slmw
Profile Blog Joined October 2010
Finland233 Posts
March 29 2011 11:20 GMT
#16
On March 29 2011 20:17 endy wrote:
Show nested quote +
On March 29 2011 20:08 slmw wrote:
Let R be the radius of the lake.

If you're at 1/4 * R distance from the center, you swim as fast as the wolf runs if you swim in a circle.
That means that at 1/4*R - Ɛ you can swim the inner circle faster than the wolf runs the outer circle, meaning that at 1/4*R your distance to the outer circle is 3/4*R ( + Ɛ) , and the wolf's distance to the same spot is π*R.

[image loading]

π*R / (3/4*R) = 4π/3 = 4,1888 > 4


Thanks for the explanation, I think I get it now. So you only spiral until you are at at R/4 distance from the center and that the wolf is at the total opposite direction. Then swim straight to the shore, right ?

No need to spiral at all.
First swim straight to the 1/4*R circle, then swim in circle until the wolf is at the opposite side of the lake and then swim straight to the freedom.
BrTarolg
Profile Blog Joined June 2009
United Kingdom3574 Posts
March 29 2011 11:24 GMT
#17
For the horse problem there are ways you can be slightly more efficient in your elimination, though im gonna have to test it out a bit more thouroughly on paper

If you use information about the fastest horse from previous races, you can potentially eliminate more than 2 horses per race in the first 5 races
Adeeler
Profile Blog Joined June 2009
United Kingdom764 Posts
Last Edited: 2011-03-29 11:30:40
March 29 2011 11:29 GMT
#18
Think outside the box and inside the box also for the wolf lake problem.

Know your variables. 1 human, 1 wolf.

Swim a little side to side and the wolf will run the entire distance around the lake again and again and tire itself out.

Then proceed in any direction. Remember the math solution doesn't help you if the lake is so small the wolf always catchs you; you want a solution that encompasses all possible lake sizes which the math only solves for large lakes considering the speed of a human swimming is.
BrTarolg
Profile Blog Joined June 2009
United Kingdom3574 Posts
March 29 2011 11:33 GMT
#19
Just tesitng the horse thing, i've found a solution with only 6 races, though i havnt checked combinatorically whether it will ALWAYS be 6 solutions, only that 6 solutions is possible

I'm gonna test worst and best case in a sec and if i get 6 each time then im pretty sure its 6
TrainSamurai
Profile Joined November 2010
339 Posts
Last Edited: 2011-03-29 11:36:15
March 29 2011 11:34 GMT
#20
Ooo this thread is awesome, don't have much time so i only did first question.

1) I believe the answer is 8. Get 5 horses race em, keep the top 3 and put 2 untested horse in the mix to race again. The problem with racing the best of 5 seperate groups is that u run the risk of putting 5 of the fastest horses in the first race. Will try the rest tmr!
LoL is the greatest thing to happen to ESPORS. LoL is the KING of ESPORTS
BrTarolg
Profile Blog Joined June 2009
United Kingdom3574 Posts
Last Edited: 2011-03-29 11:51:57
March 29 2011 11:46 GMT
#21
The more im working on the horse problem the more i am sure that the solution is 6

Even in the very worst case scenario, by always racing your fastest horse you will eliminate a minimum of 2 horses per round (as usual), however, instead of having to do 7 races since you don't know which horse is the fastest, after the end you DO know which horse is the fastest (since you've raced your fastest one every time) reducing your race count by 1

edit: god damn worst case gives 8 races, but its possible to do it by 5? in best case (5-6 i'm still not 100% sure)
Kinda annoying me now lol because i was expecting a more elegant solution but let me crack with it for longer
slmw
Profile Blog Joined October 2010
Finland233 Posts
March 29 2011 11:46 GMT
#22
On March 29 2011 20:29 Adeeler wrote:
Think outside the box and inside the box also for the wolf lake problem.

Know your variables. 1 human, 1 wolf.

Swim a little side to side and the wolf will run the entire distance around the lake again and again and tire itself out.

Then proceed in any direction. Remember the math solution doesn't help you if the lake is so small the wolf always catchs you; you want a solution that encompasses all possible lake sizes which the math only solves for large lakes considering the speed of a human swimming is.


WTF? I hope you don't need a job.
BrTarolg
Profile Blog Joined June 2009
United Kingdom3574 Posts
March 29 2011 12:16 GMT
#23
Ok all done, best cast scenario = 6

Otherwise 7 is a surefire way to do it

With the risky way, you are garuanteed 8, but can get 6
TrainSamurai
Profile Joined November 2010
339 Posts
March 29 2011 12:22 GMT
#24
On March 29 2011 20:46 BrTarolg wrote:
The more im working on the horse problem the more i am sure that the solution is 6

Even in the very worst case scenario, by always racing your fastest horse you will eliminate a minimum of 2 horses per round (as usual), however, instead of having to do 7 races since you don't know which horse is the fastest, after the end you DO know which horse is the fastest (since you've raced your fastest one every time) reducing your race count by 1

edit: god damn worst case gives 8 races, but its possible to do it by 5? in best case (5-6 i'm still not 100% sure)
Kinda annoying me now lol because i was expecting a more elegant solution but let me crack with it for longer


But wouldn't you need to measure the time other horses finish relative to that chosen horse for that? If you can do that might as well do it in 5 races. If you're comparing distances it gets a bit icky because the horses don't run at constant speed.
LoL is the greatest thing to happen to ESPORS. LoL is the KING of ESPORTS
BrTarolg
Profile Blog Joined June 2009
United Kingdom3574 Posts
Last Edited: 2011-03-29 12:39:47
March 29 2011 12:35 GMT
#25
On March 29 2011 21:22 TrainSamurai wrote:
Show nested quote +
On March 29 2011 20:46 BrTarolg wrote:
The more im working on the horse problem the more i am sure that the solution is 6

Even in the very worst case scenario, by always racing your fastest horse you will eliminate a minimum of 2 horses per round (as usual), however, instead of having to do 7 races since you don't know which horse is the fastest, after the end you DO know which horse is the fastest (since you've raced your fastest one every time) reducing your race count by 1

edit: god damn worst case gives 8 races, but its possible to do it by 5? in best case (5-6 i'm still not 100% sure)
Kinda annoying me now lol because i was expecting a more elegant solution but let me crack with it for longer


But wouldn't you need to measure the time other horses finish relative to that chosen horse for that? If you can do that might as well do it in 5 races. If you're comparing distances it gets a bit icky because the horses don't run at constant speed.



Let me give an example

You run the first five horses, eliminate two

Run the fastest horse from the first five, and then any 4 other horses

If the fastest horse from the first five comes 2nd, you can eliminate both 2 horses from your normal 5 horse group, AND you can eliminate the slowest horse from the first group
If he comes third, you can eliminate TWO horses from the first group
And if he comes last, you can eliminate a total of 4 horses in a single race

If every single race you find out your fastest horse was too slow, then you essentially eliminate 2 horses in the first race, and then 4 horses every single race thereafter. After 6 races, you are thus left with 3 horses, which are your fastest three ^^

Edit:

If you take a more complicated example, first five horses (a1-5), lose a4 a5
Now race A1 b1-4, and b1 comes first, a1 comes second
eliminate a3 and b3 b4
Now if you race B1 and C1-4, if C1 wins and B1 comes second, you can eliminate C3 C4 (as usual), but you can also eliminate A2 (since C1>B1>A1>A2)

Thus even with a second place, you can keep on eliminating larger number of horses given a non-worst case scenario
Wonders
Profile Blog Joined September 2006
Australia753 Posts
Last Edited: 2011-03-29 12:51:22
March 29 2011 12:40 GMT
#26
Is it true that some of these firms test you on the raw speed of your mental arithmetic?


On March 29 2011 19:23 paper wrote:

[image loading]

Columns are groups of horses in fives. They are conveniently sorted from fastest to slowest from the top left to the bottom right because... The first five races give you the top runners from each group. Throw the top runners from each group in a sixth race. You now have your guaranteed fastest horse at the most top left position. The seventh race has the leftover five horses marked by the orange circles (excluding the fastest horse at the upper left corner). The two winners are the remainder of your three fastest horses. This is just a matter of following the "circles" (when prioritizing going right over going down).

That's just how I see it though ;p


I don't see how it follows from the first 6 races that (say) the 4th fastest horse in the column with the fastest horse is faster than the 4th fastest horse in any other column. What if, for example, the slowest horse and the fastest horse start off in the same column? It seems like 16 of those inequality signs are gratuitous.

Here's another way to think about it. If there's 3 horses faster than you, then you can't be in the top 3. After the first 6 races, there's only 5 horses left (besides the fastest) that aren't separated from the fastest horse by a 'chain' of length 3 or more

It might not the best method though.
redoxx
Profile Blog Joined October 2010
United States333 Posts
Last Edited: 2011-03-29 13:49:28
March 29 2011 13:47 GMT
#27
I don't get the math in some of these. with the wolf, I think it makes more sense to wait for night and swim underwater to sneak away from him. These questions are coming from a humanities guy though.

Edit: I can't read
The horror...the horror
Keniji
Profile Blog Joined April 2008
Netherlands2569 Posts
Last Edited: 2011-03-29 13:49:44
March 29 2011 13:49 GMT
#28
On March 29 2011 20:03 Chriamon wrote:
Also, I saw an interesting explanation about #6. There is a variation at http://terrytao.wordpress.com/2008/02/05/the-blue-eyed-islanders-puzzle/
Basically, assuming that the islanders are all incredibly smart, and they know each other are smart, and assuming they know that the explorer is not lying, + Show Spoiler +
All of the blue eyed people would commit suicide in 501 days


this problem is actually the example on http://en.wikipedia.org/wiki/Common_knowledge_(logic)


Man, that gives me a headache. I mean, it's right per induction and makes perfect sense if you think about it mathematically (and logical), but it's still weird (and mind-blowing) that a not at all new information causes such a chain reaction.
jamesr12
Profile Blog Joined April 2010
United States1549 Posts
March 29 2011 13:56 GMT
#29
I love questions like this, keep them coming.
http://www.teamliquid.net/forum/viewmessage.php?topic_id=306479
Iranon
Profile Blog Joined March 2010
United States983 Posts
March 29 2011 13:59 GMT
#30
On March 29 2011 17:54 DTK-m2 wrote:
2.) 30 strings. Two parallel rows of 30 holes. Each of the 30 strings goes through one of the 30 holes in the first row, and then one of the 30 holes in the second row. What is the expected number of crossovers, where one string overlaps the other?


This is pretty cool. As stated it's still ambiguous though - do you mean to say that exactly one string goes through every hole? Or can more than one go through the holes... I'll assume the former.

If you're matching up one left hole with one right hole 30 times, we're looking at a random element of S_30, the symmetric group on 30 objects. A configuration of the 30 strings is just a permutation s on {1,2,...,29,30}. That is, number the holes on each side from 1 to 30, and when you put all the strings on, for each n from 1-30, let s(n) be number at the right end of the string which starts at n at the left end. We want to know how many strings cross other strings. When do those crossovers happen? Well, whenever we have some pair of holes n and m with n<m and s(n)>s(m). In math-land these are called inversions. The number of inversions (i.e. the number of pairs in the list {s(1),s(2),...,s(29),s(30)} which are out of order) is the same as the number of times you'd have to interchange consecutive elements to get everything back to the correct order (i.e. the number of times you'd have to swap right endpoints of adjacent strings to get all the strings going straight across). The minimum number of inversions is obviously 0, corresponding to the identity permutation where every string goes straight across, and the maximum number of inversions obviously happens when every pair is out of order -- that is, s(1)=30, s(2)=29,... s(30)=1. Visually, this is when every string crosses every other and it makes a giant X. How many inversions is that? Well, if every string crosses every other we have one inversion for each possible pair of strings, which is (30 choose 2)=(30*29)/2=435.

The neat bit is that if you take any permutation and reverse the order (not the inverse element, I mean lexicographically reverse it), you get a permutation where all the incorrectly ordered pairs are correctly ordered and vice versa. So in our case, if s={s(1),s(2),...,s(30)} has k inversions, then defining s' to be the permutation {s(30),s(29),...,s(1)}, s' has exactly 435-k inversions.

But then if every permutation with k inversions has a corresponding permutation with 435-k inversions, a moment's thought tells us that *on average*, there will be 435/2 = 217.5 inversions, and that's your expected number of crossovers.

Notice that along the way we've actually proven the much more general fact that if you do this with N holes on each side and N strings, your expected number of crossovers is exactly (n choose 2)/2, which is n(n-1)/4.


P.S.: Despite being the language of group theory, this is reasonably intuitive stuff. Which by no means means it's easy, I just mean that I have no idea if this is the solution economics firms would expect. I'm a grad student doing pure math, and have no clue what goes on in the world of finance and applied math and what sorts of things people know and don't know.
Iranon
Profile Blog Joined March 2010
United States983 Posts
Last Edited: 2011-03-29 14:04:52
March 29 2011 14:04 GMT
#31
Gah! Hit quote instead of edit...
Navane
Profile Blog Joined February 2007
Netherlands2748 Posts
March 29 2011 14:19 GMT
#32
1) run them all at the same time, 5 per lane.
Joementum
Profile Blog Joined October 2010
787 Posts
Last Edited: 2011-03-29 14:27:06
March 29 2011 14:26 GMT
#33


P.S.: Despite being the language of group theory, this is reasonably intuitive stuff. Which by no means means it's easy, I just mean that I have no idea if this is the solution economics firms would expect. I'm a grad student doing pure math, and have no clue what goes on in the world of finance and applied math and what sorts of things people know and don't know.


You confused the hell out of me good sir. I understand what you did, sort of, but it boggles my mind. I've taken up to Calculus 3 and I could not come up with that answer on my own in an interview. It would have taken me at least a 30 minutes to figure it out. I'm doubting a firm would actually ask this question though. I'm looking at my College's Finance major requirements and only up to Calculus 1 is required. How any student with just some basic knowledge of Calculus is supposed to figure that out is beyond me.
A marine walks into a bar and asks, "Wheres the counter?"
jamesr12
Profile Blog Joined April 2010
United States1549 Posts
March 29 2011 14:37 GMT
#34
On March 29 2011 23:26 Joementum wrote:
Show nested quote +


P.S.: Despite being the language of group theory, this is reasonably intuitive stuff. Which by no means means it's easy, I just mean that I have no idea if this is the solution economics firms would expect. I'm a grad student doing pure math, and have no clue what goes on in the world of finance and applied math and what sorts of things people know and don't know.


You confused the hell out of me good sir. I understand what you did, sort of, but it boggles my mind. I've taken up to Calculus 3 and I could not come up with that answer on my own in an interview. It would have taken me at least a 30 minutes to figure it out. I'm doubting a firm would actually ask this question though. I'm looking at my College's Finance major requirements and only up to Calculus 1 is required. How any student with just some basic knowledge of Calculus is supposed to figure that out is beyond me.


they dont except a formal proof like he did, just that you can think yourself through to the soultion, and this is for the best of the best finance firms, some increadibly smart people work for these firms
http://www.teamliquid.net/forum/viewmessage.php?topic_id=306479
Oracle
Profile Blog Joined May 2007
Canada411 Posts
March 29 2011 15:12 GMT
#35
On March 29 2011 18:35 eluv wrote:
5) There are 100 people in separate rooms. They can talk as much as they want until they "begin." Once they begin, they are called one at a time, in no particular order, into another room. In this room is only a light switch that turns on and off a lightbulb in the room. Noone can see the lightbulb unless they are in the room, and the only thing you can do in the room is check the lightbulb, turn it on, or turn it off. How do the people know when all 100 have been called? (You can be called more than once before everyone else has gone once).


Say there are 100 people, name them p_1, p_2, ... p_100.

Let p_1 be the tallier.

When p_1 enters the room, he must leave the light off when he leaves.

When p_i, for i = 2,3 ... 100 enters the room, he must leave the light on, if and only if he has not turned it on yet, and it is off when he has entered.

When p_1 turns the light off 99 times, he can assume all 100 have been called.
]343[
Profile Blog Joined May 2008
United States10328 Posts
March 29 2011 15:17 GMT
#36
On March 29 2011 22:59 Iranon wrote:
Show nested quote +
On March 29 2011 17:54 DTK-m2 wrote:
2.) 30 strings. Two parallel rows of 30 holes. Each of the 30 strings goes through one of the 30 holes in the first row, and then one of the 30 holes in the second row. What is the expected number of crossovers, where one string overlaps the other?


This is pretty cool. As stated it's still ambiguous though - do you mean to say that exactly one string goes through every hole? Or can more than one go through the holes... I'll assume the former.

If you're matching up one left hole with one right hole 30 times, we're looking at a random element of S_30, the symmetric group on 30 objects. A configuration of the 30 strings is just a permutation s on {1,2,...,29,30}. That is, number the holes on each side from 1 to 30, and when you put all the strings on, for each n from 1-30, let s(n) be number at the right end of the string which starts at n at the left end. We want to know how many strings cross other strings. When do those crossovers happen? Well, whenever we have some pair of holes n and m with ns(m). In math-land these are called inversions. The number of inversions (i.e. the number of pairs in the list {s(1),s(2),...,s(29),s(30)} which are out of order) is the same as the number of times you'd have to interchange consecutive elements to get everything back to the correct order (i.e. the number of times you'd have to swap right endpoints of adjacent strings to get all the strings going straight across). The minimum number of inversions is obviously 0, corresponding to the identity permutation where every string goes straight across, and the maximum number of inversions obviously happens when every pair is out of order -- that is, s(1)=30, s(2)=29,... s(30)=1. Visually, this is when every string crosses every other and it makes a giant X. How many inversions is that? Well, if every string crosses every other we have one inversion for each possible pair of strings, which is (30 choose 2)=(30*29)/2=435.

The neat bit is that if you take any permutation and reverse the order (not the inverse element, I mean lexicographically reverse it), you get a permutation where all the incorrectly ordered pairs are correctly ordered and vice versa. So in our case, if s={s(1),s(2),...,s(30)} has k inversions, then defining s' to be the permutation {s(30),s(29),...,s(1)}, s' has exactly 435-k inversions.

But then if every permutation with k inversions has a corresponding permutation with 435-k inversions, a moment's thought tells us that *on average*, there will be 435/2 = 217.5 inversions, and that's your expected number of crossovers.

Notice that along the way we've actually proven the much more general fact that if you do this with N holes on each side and N strings, your expected number of crossovers is exactly (n choose 2)/2, which is n(n-1)/4.


P.S.: Despite being the language of group theory, this is reasonably intuitive stuff. Which by no means means it's easy, I just mean that I have no idea if this is the solution economics firms would expect. I'm a grad student doing pure math, and have no clue what goes on in the world of finance and applied math and what sorts of things people know and don't know.


I tried some sort of silly induction approach, but then my friend owned me. The probability that two strings intersect given arbitrary starting positions is 1/2: for each crossing, there corresponds exactly one uncrossing (untwist the strings). There are nC2 ways of picking two starting positions. So by linearity of expectation, the total expected value is nC2/2 = n(n-1)/4. (This might be clearer if you just count the number of cross/uncrossings for each pair.)
Writer
Oracle
Profile Blog Joined May 2007
Canada411 Posts
March 29 2011 15:40 GMT
#37
7) There are N cars travelling along an infinitely long one-lane highway. No two cars travel at the same speed. When a car is travelling at a speed less than the car behind it, it forms a jam. How many jams are expected to be on this highway, in terms of n?

+ Show Spoiler [Hint] +
Model a set from {1,...n} where a higher number => higher speed. Permutations
]343[
Profile Blog Joined May 2008
United States10328 Posts
March 29 2011 15:50 GMT
#38
On March 30 2011 00:40 Oracle wrote:
7) There are N cars travelling along an infinitely long one-lane highway. No two cars travel at the same speed. When a car is travelling at a speed less than the car behind it, it forms a jam. How many jams are expected to be on this highway, in terms of n?

+ Show Spoiler [Hint] +
Model a set from {1,...n} where a higher number => higher speed. Permutations


if n_a < n_{a+2} there's no ja
correct? only if n_a < n_{a+1}? and jams don't cause other jams? because then expected value works again: for each pair of adjacent cars, 1/2 probability of jam. n-1 pairs of cars, so (n-1)/2 jams are expected.
Writer
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2011-03-29 17:06:32
March 29 2011 16:00 GMT
#39
On March 30 2011 00:50 ]343[ wrote:
Show nested quote +
On March 30 2011 00:40 Oracle wrote:
7) There are N cars travelling along an infinitely long one-lane highway. No two cars travel at the same speed. When a car is travelling at a speed less than the car behind it, it forms a jam. How many jams are expected to be on this highway, in terms of n?

+ Show Spoiler [Hint] +
Model a set from {1,...n} where a higher number => higher speed. Permutations


if n_a < n_{a+2} there's no ja
correct? only if n_a < n_{a+1}? and jams don't cause other jams? because then expected value works again: for each pair of adjacent cars, 1/2 probability of jam. n-1 pairs of cars, so (n-1)/2 jams are expected.



Consider the set {6, 4, 5, 7, 2}

4,5 form a jam, but also 4,5,7 forms a jam. So yes, jams may cause other jams.

However, jams are counted contiguously, {4,5} would be not regarded as a different jam than {4, 5, 7}
]343[
Profile Blog Joined May 2008
United States10328 Posts
March 29 2011 16:19 GMT
#40
On March 30 2011 01:00 Oracle wrote:
Show nested quote +
On March 30 2011 00:50 ]343[ wrote:
On March 30 2011 00:40 Oracle wrote:
7) There are N cars travelling along an infinitely long one-lane highway. No two cars travel at the same speed. When a car is travelling at a speed less than the car behind it, it forms a jam. How many jams are expected to be on this highway, in terms of n?

+ Show Spoiler [Hint] +
Model a set from {1,...n} where a higher number => higher speed. Permutations


if n_a < n_{a+2} there's no ja
correct? only if n_a < n_{a+1}? and jams don't cause other jams? because then expected value works again: for each pair of adjacent cars, 1/2 probability of jam. n-1 pairs of cars, so (n-1)/2 jams are expected.



Consider the set {6, 4, 5, 3, 2}

4,5 form a jam, but also 4,5,3 forms a jam. So yes, jams may cause other jams.

However, jams are coutned contiguously, {4,5} would be not regarded as a different jam than {4, 5, 3}


did you mean to say (4,5) is not a jam? or are numbers to the left the cars in front... or are your numbers inversely related to the speed. ok I'm confused lol.

let a number represent speed and coordinates with higher index be in front (as if cars traveled right).

so 5 4 3 2 1 is how many jams? 1? how about 2 3 1? does the 2 count as part of the same jam, since the 3-car is slowed to 1?
Writer
raiame
Profile Joined December 2007
United States421 Posts
March 29 2011 16:26 GMT
#41
I wish all Jane Street cared about was math haha, got to final round and Tim told me I was too quiet and mumbled too much =[
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2011-03-29 18:01:21
March 29 2011 17:08 GMT
#42
On March 30 2011 01:19 ]343[ wrote:
Show nested quote +
On March 30 2011 01:00 Oracle wrote:
On March 30 2011 00:50 ]343[ wrote:
On March 30 2011 00:40 Oracle wrote:
7) There are N cars travelling along an infinitely long one-lane highway. No two cars travel at the same speed. When a car is travelling at a speed less than the car behind it, it forms a jam. How many jams are expected to be on this highway, in terms of n?

+ Show Spoiler [Hint] +
Model a set from {1,...n} where a higher number => higher speed. Permutations


if n_a < n_{a+2} there's no ja
correct? only if n_a < n_{a+1}? and jams don't cause other jams? because then expected value works again: for each pair of adjacent cars, 1/2 probability of jam. n-1 pairs of cars, so (n-1)/2 jams are expected.



Consider the set {6, 4, 5, 3, 2}

4,5 form a jam, but also 4,5,3 forms a jam. So yes, jams may cause other jams.

However, jams are coutned contiguously, {4,5} would be not regarded as a different jam than {4, 5, 3}


did you mean to say (4,5) is not a jam? or are numbers to the left the cars in front... or are your numbers inversely related to the speed. ok I'm confused lol.

let a number represent speed and coordinates with higher index be in front (as if cars traveled right).

so 5 4 3 2 1 is how many jams? 1? how about 2 3 1? does the 2 count as part of the same jam, since the 3-car is slowed to 1?

Sorry i made an error in my post, i updated it.

5 4 3 2 1 is zero jams, since 5 travels faster than 4, faster than 3, etc. so none would be bottlenecked by another car

2 3 1 would be 1 jam, since 3 is bottlenecked by 2, but 1 cannot catch up to 2 to be bottlenecked.

(i am reading the cars travelling left, not right, thats where u may be confused)

1 2 3 4 5 would be a single jam

1 3 2 would be a single jam

+ Show Spoiler [Hint] +
my answer requires calculus/finite series
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2011-03-29 17:55:52
March 29 2011 17:15 GMT
#43
8) Two mathematicians who haven't seen each other in 14 years are talking.

A: "I have three daughters now. The product of their ages is 72. and the sum of their ages is equal to the amount of years we have known each other.

B: "I still don't know how old they are"

A: "My youngest daughter just started to play the piano"

B: "Oh, my youngest is the same age!"

How old are person A's daughters?

+ Show Spoiler [hint] +
Ambiguity implies what?
]343[
Profile Blog Joined May 2008
United States10328 Posts
March 29 2011 17:45 GMT
#44
On March 30 2011 02:15 Oracle wrote:
8) Two mathematicians who haven't seen each other in 15 years are talking.

A: "I have three daughters now. The product of their ages is 72. and the sum of their ages is equal to the amount of years we have known each other.

B: "I still don't know how old they are"

A: "My youngest daughter just started to play the piano"

B: "Oh, my youngest is the same age!"

How old are person A's daughters?

+ Show Spoiler [hint] +
Ambiguity implies what?


6*6*2 = 3*3*8 = 72, and both have sum 14; they're the only triples with product 72 that have the same sum (hence ambiguity). but since he has a distinct youngest daughter, she must be 2. ... except they can't have known each other for less than 15 years =.= but I'll assume that was extraneous information that happens to be false ;P
Writer
YejinYejin
Profile Blog Joined July 2009
United States1053 Posts
March 29 2011 17:46 GMT
#45
On March 30 2011 01:26 raiame wrote:
I wish all Jane Street cared about was math haha, got to final round and Tim told me I was too quiet and mumbled too much =[


You applied to Jane Street? How hard would you say the math was?
안지호
Bibdy
Profile Joined March 2010
United States3481 Posts
Last Edited: 2011-03-29 18:13:16
March 29 2011 17:48 GMT
#46
On March 30 2011 02:15 Oracle wrote:
8) Two mathematicians who haven't seen each other in 15 years are talking.

A: "I have three daughters now. The product of their ages is 72. and the sum of their ages is equal to the amount of years we have known each other.

B: "I still don't know how old they are"

A: "My youngest daughter just started to play the piano"

B: "Oh, my youngest is the same age!"

How old are person A's daughters?

+ Show Spoiler [hint] +
Ambiguity implies what?


Did some Googling. Its an interesting problem.

+ Show Spoiler +
The only knowledge you initially seem to have to go on is that the product of their ages is 72. The second clue seems meaningless. However, the final clue tells you in that one of the numbers is strictly smaller than the other two (which could just as easily be the same number as not). Since 72 isn't a perfect cube, then there's a limited number of answers it could be.

a * b * c = 72
a + b + c = D

Possible values are
==============
a = 24, b = 3, c = 1, D = 28
a = 18, b = 4, c = 1, D = 23
a = 12, b = 6, c = 1, D = 19
a = 12, b = 3, c = 2, D = 17
a = 9, b = 8, c = 1, D = 18
a = 9, b = 4, c = 2, D = 15
a = 8, b = 3, c = 3, D = 14
a = 6, b = 6, c = 2, D = 14
a = 6, b = 4, c = 3, D = 13

Because of the first clue, a must be less than 15, and because of the second clue, D must be greater than 15, which leaves us with:

a = 12, b = 6, c = 1, D = 19
a = 12, b = 3, c = 2, D = 17
a = 9, b = 8, c = 1, D = 18

So, the youngest daughter is either 1 or 2, but since a 1-year old is mostly still crawling around the floor, rather than playing piano, her age must be 2, which leaves the other daughter's ages as 3 and 12.


Edit:

+ Show Spoiler +
Although the poster above, ]343[, brings up a good point. Mathematician B would know the value of D, but the only reason to ask why they didn't know the answer after being given the second clue would be if there was ambiguity in the results, and that only occurs where D is equal to 14, so the only two outcomes are:

a = 6, b = 6, c = 2, D = 14
a = 8, b = 3, c = 3, D = 14

Since there's a youngest, the answer has to be 6, 6, 2.


It seems like these kinds of interview questions don't really have a purpose. If someone asked me about this problem in an interview now, I'd be able to solve it in 20 seconds. If they asked me 20 minutes ago, I'd just stumble around for 10 minutes and give up. All they reveal is how much brushing up someone did prior to the interview.
Oracle
Profile Blog Joined May 2007
Canada411 Posts
March 29 2011 17:56 GMT
#47
On March 30 2011 02:45 ]343[ wrote:
Show nested quote +
On March 30 2011 02:15 Oracle wrote:
8) Two mathematicians who haven't seen each other in 15 years are talking.

A: "I have three daughters now. The product of their ages is 72. and the sum of their ages is equal to the amount of years we have known each other.

B: "I still don't know how old they are"

A: "My youngest daughter just started to play the piano"

B: "Oh, my youngest is the same age!"

How old are person A's daughters?

+ Show Spoiler [hint] +
Ambiguity implies what?


6*6*2 = 3*3*8 = 72, and both have sum 14; they're the only triples with product 72 that have the same sum (hence ambiguity). but since he has a distinct youngest daughter, she must be 2. ... except they can't have known each other for less than 15 years =.= but I'll assume that was extraneous information that happens to be false ;P


Sorry typo, my fault, i dont really proofread at work
raiame
Profile Joined December 2007
United States421 Posts
March 29 2011 18:14 GMT
#48
On March 30 2011 02:46 DTK-m2 wrote:
Show nested quote +
On March 30 2011 01:26 raiame wrote:
I wish all Jane Street cared about was math haha, got to final round and Tim told me I was too quiet and mumbled too much =[


You applied to Jane Street? How hard would you say the math was?


Early rounds would be problems similar to those given here.

Later rounds math wasn't easy enough that you could solve and you would just have to guess and make markets/confidence intervals and give thought processes/reasoning.

Final round was mostly on decision making based on mathematical questions.
bpgbcg
Profile Joined February 2011
United States74 Posts
Last Edited: 2011-03-31 02:05:54
March 31 2011 01:49 GMT
#49
On March 29 2011 17:54 DTK-m2 wrote:
I made AIME in high school and got an 11


...what I thought you got a 6. Was this in a different year?

Darn I can't stop thinking about the "jams" problem.

Anyway, progress so far:
+ Show Spoiler +
This is equivalent to the number of increasing subparts (i'm sure there's a more technical term) of a permutation of length at least 2. It's probably easier to include all increasing subparts and then subtract the expected number of increasing subparts of length 1. When do those occur? when a number has a higher number before it and a lower one after it (or just the relevant one if it's the first or last). Thus there are an expected 2/2+(n-2)/4=(n+2)/4 increasing subparts of length 1. Now to count the total number of increasing subparts. Since my combo is awful I will attempt to biject and probably fail, but interesting problem!


BTW, does LaTEX work on TL?
I don't have the creativity to think of a signature.
]343[
Profile Blog Joined May 2008
United States10328 Posts
March 31 2011 02:50 GMT
#50
On March 31 2011 10:49 bpgbcg wrote:
Show nested quote +
On March 29 2011 17:54 DTK-m2 wrote:
I made AIME in high school and got an 11


...what I thought you got a 6. Was this in a different year?

Darn I can't stop thinking about the "jams" problem.

Anyway, progress so far:
+ Show Spoiler +
This is equivalent to the number of increasing subparts (i'm sure there's a more technical term) of a permutation of length at least 2. It's probably easier to include all increasing subparts and then subtract the expected number of increasing subparts of length 1. When do those occur? when a number has a higher number before it and a lower one after it (or just the relevant one if it's the first or last). Thus there are an expected 2/2+(n-2)/4=(n+2)/4 increasing subparts of length 1. Now to count the total number of increasing subparts. Since my combo is awful I will attempt to biject and probably fail, but interesting problem!


BTW, does LaTEX work on TL?


lolsup I've seen your username on AoPS. anyway LaTeX doesn't work, just BBCode. (why would LaTeX work on a non-math forum...?) though if you want, I'm sure you could use the TeXer and just include the images lol.

also, I'm not sure what you're talking about in the "subparts" at all. please elaborate.
Writer
YejinYejin
Profile Blog Joined July 2009
United States1053 Posts
March 31 2011 03:29 GMT
#51
On March 31 2011 10:49 bpgbcg wrote:
Show nested quote +
On March 29 2011 17:54 DTK-m2 wrote:
I made AIME in high school and got an 11


...what I thought you got a 6. Was this in a different year?

Darn I can't stop thinking about the "jams" problem.

Anyway, progress so far:
+ Show Spoiler +
This is equivalent to the number of increasing subparts (i'm sure there's a more technical term) of a permutation of length at least 2. It's probably easier to include all increasing subparts and then subtract the expected number of increasing subparts of length 1. When do those occur? when a number has a higher number before it and a lower one after it (or just the relevant one if it's the first or last). Thus there are an expected 2/2+(n-2)/4=(n+2)/4 increasing subparts of length 1. Now to count the total number of increasing subparts. Since my combo is awful I will attempt to biject and probably fail, but interesting problem!


BTW, does LaTEX work on TL?


Ah fine, you caught me. Hi Ben. :D

I got a six freshman year, and senior year I ALMOST got an 11. Like, I would have had it if I knew how to do addition. And simple multiplication. Or read English. My actual score was a 7? or an 8? One of those 2.
안지호
]343[
Profile Blog Joined May 2008
United States10328 Posts
March 31 2011 06:18 GMT
#52
On March 31 2011 12:29 DTK-m2 wrote:
Show nested quote +
On March 31 2011 10:49 bpgbcg wrote:
On March 29 2011 17:54 DTK-m2 wrote:
I made AIME in high school and got an 11


...what I thought you got a 6. Was this in a different year?

Darn I can't stop thinking about the "jams" problem.

Anyway, progress so far:
+ Show Spoiler +
This is equivalent to the number of increasing subparts (i'm sure there's a more technical term) of a permutation of length at least 2. It's probably easier to include all increasing subparts and then subtract the expected number of increasing subparts of length 1. When do those occur? when a number has a higher number before it and a lower one after it (or just the relevant one if it's the first or last). Thus there are an expected 2/2+(n-2)/4=(n+2)/4 increasing subparts of length 1. Now to count the total number of increasing subparts. Since my combo is awful I will attempt to biject and probably fail, but interesting problem!


BTW, does LaTEX work on TL?


Ah fine, you caught me. Hi Ben. :D

I got a six freshman year, and senior year I ALMOST got an 11. Like, I would have had it if I knew how to do addition. And simple multiplication. Or read English. My actual score was a 7? or an 8? One of those 2.


oh wait. he's... ben from... GDS?! oh that would explain the 14 loooool ok it all makes sense now!
Writer
MilesTeg
Profile Joined September 2010
France1271 Posts
March 31 2011 09:46 GMT
#53
On March 29 2011 21:40 Wonders wrote:
Is it true that some of these firms test you on the raw speed of your mental arithmetic?


It's a different kind of firm. Jane Street is more like a hedge fund as far as I know, while the speed math tests are typically in market making / arbitrage firms. In Europe/ Asia some examples of such firms are Optiver, All Options, Tibra... great career if you can pass the tests. In the US I don't know them as well, there are a lot of these firms in Chicago but for some reason they don't seem to have much presence internationally as far as I can tell.
bpgbcg
Profile Joined February 2011
United States74 Posts
April 01 2011 01:03 GMT
#54
My start of a solution was completely unhelpful. Here is an actual one.

So + Show Spoiler +
If higher number=higher speed, each jam is started by a number for which the numbers on either side are both higher than it. (If the one on the left was lower it would not be the beginning of a jam, if the one on the right was lower it would not cause a jam at all.) So what's the probability for this to happen for any given number? For the n-2 middle numbers, the probability that out of any 3 adjacent ones the middle is the smallest is clearly 1/3. However, for the one on the right side it cannot start a jam, whereas for the one on the left the probability is 1/2. Thus we have (n-2)/3+1/2=(2n-1)/6.


Also ]343[ do I know you?
I don't have the creativity to think of a signature.
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2011-04-01 01:22:25
April 01 2011 01:18 GMT
#55
Sorry, that's wrong.

The arithmetic solution which I got was

+ Show Spoiler +
1 + 1/2 + ... + 1/(n-1) + 1/n


I didn't give the explanation but sometimes it helps to know the answer and work backwards.
bpgbcg
Profile Joined February 2011
United States74 Posts
April 01 2011 13:18 GMT
#56
Darn I fail misread the question.
+ Show Spoiler +
If the slowest car is the kth car from the back it creates a jam behind it. In addition if f(n) is the number of expected jams, there are f(n-k) expected more jams in front of the slowest car. Since each of these is equally probable, we have f(n)=(f(n-1)+f(n-2)+...+f(1))/n+1. Thus nf(n)=f(n-1)+...+f(1)+n. Thus nf(n)-(n-1)f(n-1)=f(n-1)+1, so f(n)=f(n-1)+1/n. Induction trivially yields f(n)=H_n.
I don't have the creativity to think of a signature.
womiebra
Profile Joined April 2011
1 Post
April 10 2011 11:44 GMT
#57
Do you assume that single car forms a jam after all? For n=1 your solution tells that there will be 1 jam...

With that simplification I can confirm that answer. Here is how i got it:

+ Show Spoiler +

X_i = 1 if i-th slowest car is blocked by a jam, 0 otherwise
Y - number of jams (including 'single-car jams')

The following holds (P denotes probability):
P(X_i=1) = 1 - 1/i

explanation: look at subset {1,2,...,i-1} of i slowest cars. The chance that i-th
car has no slower car anywhere in front equals to the chance that i is at the first position of i-permutation, which is 1/i.

Observe that (E denotes expected value):
Y = N - (sum of EX_i)

Then the answer to the simplified problem is:
EY = N - (sum of EX_i) = N - (N - 1 - 1/2 - ... - 1/N) = 1+1/2+...+1/N = H_N


Would be interesting to know the answer for the original problem though
MoonBear
Profile Blog Joined November 2010
Straight outta Johto18973 Posts
Last Edited: 2011-04-10 12:58:46
April 10 2011 12:54 GMT
#58
Generally with these firms they want to see how good your analytical skills are. Getting the correct answer is always good, especially if you know the answer beforehand. However, what's more important is that you show you can think through things logically and critically. That should get you to the correct answer.

As for the standard of math. If you want to get into finance, having done further mathematics at secondary school is a must. Having done mathematics or quantitative subjects at university is recommended. While you don't necessarily have to have done finance at university, a lack of mathematical background will set you back. This is especially important for the more quantitative-finance orientated positions, such as say Financial and Audit Consulting at one of the Big Four.

Different companies will also ask different styles of questions. You'd probably want to do some research or talk to previous applicants about what the company is looking for. Different departments in different countries will also have different standards on what they want because the recruiters all have their own preferences so check beforehand if you can. Ultimately, trying to read up on every brainteaser in existence probably won't be a great strategy as there's too many to learn. You'll probably have to do psychometric testing as well and you don't want to perform poorly on them. Those matter a lot because if you don't make the cut, they just reject you then and there.

I'd also recommend knowing how to do mental math fast. For example, knowing the tricks to multiplying any two digit number by 11, or converting decimals into fractions.

As for the questions themselves:

Question 1:
+ Show Spoiler +
The answer is 7.

Divide your horses into 5 groups of 5. Race each group of 5. Let us call each group A, B, C, D, E with and the rank the horses 1, 2, 3, 4, 5. We then have:

A1, A2, A3, A4, A5
B1, B2, B3, B4, B5
C1, C2, C3, C4, C5
D1, D2, D3, D4, D5
E1, E2, E3, E4, E5

Now we race A1, B1, C1, D1, E1. Let's just say that the final result has A being the fastest, B coming second, C third, etc. Since these are just labels, you can relabel them with something else if you want.

We can eliminate everything in group D and E for obvious reasons. We also eliminate C2 to C5 as we can always form a group of 3 faster horses (e.g. A1, B1, C1). The same logic allows us to eliminate B3 to B5 and A4 and A5.

We have A1, A2, A3, B1, B2, C1 left. We know A1 is the fastest horse of them all. So race the remaining 5 and choose the two fastest from the rest.


Question 2:
+ Show Spoiler +
I don't actually understand this question. Is each string only allowed through 1 hole?


Question 3:
+ Show Spoiler +
The fact they don't burn uniformly doesn't matter.

Light string 1 at both ends at the same time and light string 2 at one end. String 1 will fully burn in 30 minutes. String 2 will be half burnt. When String 1 fully burns, light the non-lit end of string 2. String 2 will now burn for 15 more minutes on top of the 30 min it has already burnt.


Question 4:
+ Show Spoiler +
The answer on Page 1 was correct.


Question 5:
+ Show Spoiler +
The solution on Page 2 works, but you probably won't get out of jail until the universe ends because the amount of time it would take for everyone to be randomly selected and have visited the room and then have one person go back would take far too long.

I believe the most elegant solution would be this one which also covers every possible variation of the problem.


Question 6:
+ Show Spoiler +
This a pretty well known question with many explanatory solutions so I won't type one up here.
ModeratorA dream. Do you have one that has cursed you like that? Or maybe... a wish?
jvanbev1
Profile Joined May 2014
United States1 Post
May 19 2014 16:17 GMT
#59
It's pretty simple actually. Just swim in a very tight circle around the center of the lake for 15 minutes. Then swim to the edge and escape. The wolf will have run around the lake so many times it will be dead of exhaustion.
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 4h 19m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 264
ProTech76
Livibee 51
StarCraft: Brood War
Dewaltoss 93
ZZZero.O 46
MaD[AoV]26
NaDa 19
Jaeyun 19
HiyA 18
Shine 9
Dota 2
capcasts141
NeuroSwarm79
League of Legends
JimRising 594
Counter-Strike
taco 839
flusha452
Other Games
summit1g8273
tarik_tv2439
Grubby2359
FrodaN1787
fl0m724
Pyrionflax182
mouzStarbuck160
ViBE156
PPMD38
Organizations
Other Games
BasetradeTV35
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• davetesta87
• RyuSc2 77
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• blackmanpl 20
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21482
League of Legends
• Doublelift4489
• Jankos2366
Other Games
• Scarra1449
• imaqtpie861
Upcoming Events
Korean StarCraft League
4h 19m
CranKy Ducklings
11h 19m
RSL Revival
11h 19m
ByuN vs Cham
herO vs Reynor
FEL
17h 19m
RSL Revival
1d 11h
Clem vs Classic
SHIN vs Cure
FEL
1d 13h
BSL: ProLeague
1d 19h
Dewalt vs Bonyth
Replay Cast
3 days
Sparkling Tuna Cup
3 days
The PondCast
4 days
[ Show More ]
Replay Cast
5 days
RSL Revival
5 days
Replay Cast
6 days
RSL Revival
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.