A computer network is a group of computers that use a set of common communication over digital interconnections for the purpose of sharing located on or provided by the computer nodes.
Definition,
An algorithm is a step-by-step procedure, which defines a set of instructions to be executed in a certain order to get the desired output.