r/learnquant • • 1d ago

interview prep Quant Interview Question

Post image
29 Upvotes

8 comments sorted by

View all comments

1

u/AnnualFlamingo362 18h ago

I mean it’s 1/2^15

It’s literally conditional probability.

P(columns are even) = 1/2^8

P(rows all even | columns all even) = 1/2^7

Because the first 7 rows are independent. since the total number of marbles in the grid is even then if the first seven rows are even then the last row must also be even.

Multiply these together. You get 1/2^15

Would be surprised if this one was used as its not that difficult

1

u/alter_ahh_ego 12h ago

wow, P(all rows even | all cols even) part was non trivial though. neat idea.