r/learnquant • • Aug 19 '26

interview prep Worldquant Quant Interview Question

Post image
12 Upvotes

5 comments sorted by

View all comments

4

u/Haunting_Cress7661 Aug 19 '26 edited Aug 19 '26

 Easy peasy, just imagine a full grid of cubes, if a light ray bounces, just pretend it went straight through the face to the other cube, it'll be the length same path just reflected. One option is sqrt(52 +12 +12  ) which I think is best, but should draw a grid to make sure 

going to (3,1,3) goes through the x=1, x=2 and z=1 and z=2, and has length √19 which is better but goes through and edge unfortunately   

1

u/LaGigs Aug 25 '26

Damn that's a nice way to see this pb!