Morgan Stanley interview question

How long to sort an array vs linked list and time complexity?