Paycom interview question

OOP concepts and leetcode easy