Infosys interview question

what is algorithm and examples