Pregunta de entrevista de Microsoft

One of the DSA questions they asked was: Reverse a singly linked list without using extra space, and explain both iterative and recursive approaches with time and space complexities