Minimum Distance to the target element | leetcode solution of problem 1848

Published --