Prune Repeated Sensor Readings — Coding Problem — CareerVerse