HyperVerge interview question

SQL queries hard matrix chain multiplication