Intel Corporation Interview Question

Fully related to perl