NBCUniversal Interview Question

Explain the algorithm/math behind Principal Component Analysis (PCA).