HCLTech Interview Question

Smallest distance between 2 strings