technique of swapping insertion

technique of swapping insertion