Meta interview question

algo sorting questions space and time complexity