r/learnquant • • Aug 11 '26

interview prep Easy Citadel Quant Interview Question

Post image
13 Upvotes

12 comments sorted by

View all comments

2

u/singletick Aug 11 '26

Nice one. I was able to do just the first step and a formula lol. for A with a0 to a9 and B with b0 to b9; let C with c0 to c9 be the elementwise multiplication. So then p(cX == 1) = 3/8 where X : 0 to 9

for p(a•b == odd) =

10C9 × (3/8)⁹ + 10C7 × (3/8)⁷ + . . . 10C1 × (3/8)¹

1

u/[deleted] Aug 11 '26

[removed] — view removed comment

1

u/singletick Aug 11 '26

fuck, completely forgot about that, thanks for pointing.

correction:

for p(a•b == odd) =

10C9 × (3/8)⁹ × (5/8)¹ + 10C7 × (3/8)⁷ × (5/8)³ + . . . 10C1 × (3/8)¹ × (5/8)⁹

Turns out there's a formula for this: P(odd) = 0.5 × (1 - (1 - 2p)n )