Infosys interview question

Switch map and fork tap difference