Charles Schwab Interview Question

basics of oop and leetcode question