Qontigo Interview Question

How do dividends affect index calculations?