CoreWeave interview question

Complete a take-home assignment based on an old CoreWeave posting