Minimum Coordinate Gap on a Line — Coding problem | OneNoughtOne