SpinFusion interview question

About coding test