Stealth Startup interview question

Traversing linked list, time and space complexity