Edit List Problem

This program is valid for editing two list of integers so that to make them same. You need to find the minimum
number of interchanges . This program can be modified for strings by just using the ascii value of characters.