What is LU decomposition and how is it used to solve linear systems?
Role: Data Scientist
Category: Statistics & Math
Difficulty: medium
Interview Round: Other
Overview: Explain what LU decomposition is and how forward and back substitution use it to solve a linear system. Tests the link to Gaussian elimination, the cost of factoring once for many right-hand sides, why partial pivoting is needed, and how the factors give the determinant.