StockX interview question

Good question