Object-Oriented Programming · Waymo · Medium
Two separate software components, System A and System B, each detect and follow real-world objects on their own. Each system hands out string IDs that are guaranteed unique only inside that system, so a single physical object can be known to System A by one ID and to System B by a completely different one. Design and implement an ObjectTracker class exposing these methods: addLink(a_id, b_id) records that the System A ID a_id and the System B ID b_id both identify the same…