SS&C interview question

Basics