Meta Interview Question

algorthim matrix diagonal