Implement an efficient algorithm to find duplicate data points in a continuous stream of sensor data.