Motif Investing interview question

coding questions