Infosys interview question

Write algorithm to find an element from a list.