Rare Carat interview question

They asked me to submit an Assignment