Question d’entretien chez Stealth Startup

Traversing linked list, time and space complexity