s and target respectively.s and increment its count in the corresponding frequency dictionary.target and increment its count in the corresponding frequency dictionary.min_copies to a large value (e.g., infinity).target and calculate the ratio of its frequency in s to its frequency in target.min_copies with the minimum ratio found in the previous step.min_copies as the result.