Given a set of points on a 2D plane (or a 1D number line, depending on variant), remove all points that are 'covered' by another point or interval. In the most common variant: given a list of points, remove any point that is covered by at least one other point…