Intel Corporation interview question

Write a search function for an element in a linked list.