Given two strings A and B of different lengths. The task is to make them same by deleting a sub string from the larger string.
Example: