Chegg Interview Question

Technical mostly