Capital One Interview Question

object oriented design technical question