Problem Statement


The problem statement is confusing, just say you want a copy or duplicate of everything instead of saying “deep copy”.


Absolutely correct. It kept me thinking what is a “deep” copy. They should rewrite the problem statement.


Use this link Problem statement depiction just to understand the problem ( however use hashing to solve).