Chegg interview question

Subject question based on applied domain