Pregunta de entrevista de Crystallite

How would you reverse a linked list in Python? Explain the time complexity of various sorting algorithms, such as bubble sort, merge sort, and quicksort.