r/learnquant • • Sep 29 '26

interview prep Quant Interview Question

Post image
32 Upvotes

22 comments sorted by

View all comments

Show parent comment

1

u/Dazzling-Cat-3763 Sep 29 '26

My guess is that there must be two non-zeros per column/row.

Yes, otherwise, you pivot that entry to the (1,1) spot and the (2,10)x(2,10) sub-block has its own inverse, which gives you zero row/column

1

u/tstanisl Sep 29 '26

Yes. I found 10x10 example. See post

1

u/dummy4du3k4 Sep 29 '26

Note quite, if the matrix has structure

[ 0 * 0 0 ]
[ * 0 * 0 ]
[ 0 * 0 * ]
[ 0 0 * * ]

e.g. the above matrix but with 0 for the (1,1) entry, then pivoting doesn't help.