Meta Interview Question

Basic array and matrix sorting problems, some architectural questions