SS&C Interview Question

walk me through the waterfall calculation