SS&C interview question

OOP fundamentals, Leetcode easy and mediums.