TCE Incorporated interview question

Technical