Space Matrix interview question

About recent project and difficulty