Pergunta de entrevista da empresa Trexquant Investment

What is deep copy in Python?

Resposta da entrevista

Sigiloso

14 de dez. de 2018

deepcopy is basically a way of making a copy of a duplicate of entire data structure instead of just copying the reference to the data structure. The difference between deep copy and shallow copy is basically the difference between pass by value and pass by reference while passing arguments to function in C.