[24]7.ai interview question

Traverse a linked a given lined list.