HCLTech interview question

Smallest distance between 2 strings