Microsoft Interview Question

Describe a linked list to a 5 year old

Interview Answer

Anonymous

Oct 9, 2020

A train has an engine and many cars behind it. Each car is connected to the engine. If we go from the engine back to the coal car which is connected to the cartle car and that is connected to the tiger car which is connected to the caboose full of clowns. In a linked list we always start with the engine and move back till we find the car we are looking for.