Sollicitatievraag bij Cadence Design Systems

How to implement shared pointer class. how will keep count of reference.