Leetcode Solution - Check distances between same letters - Problem 2399

Published --