Matrix-IFS interview question

Master project