Amazon interview question

How does Principal Component Analysis work ?