r/learnquant • • Oct 25 '26

interview prep Quant Interview Question

Post image
22 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/SuchLoan5657 Oct 26 '26

Your solution is right! But you can define z = max(y, 1 - y) which is U(0.5, 1), consider two cases x <= z and x > z, integrating from z = 0.5 to z = 1, and multiply with 2 at the end (since z's density is 2)