Infosys Interview Question

what is algorithm and examples