employer cover photo
employer logo
employer logo

Trexquant Investment

Is this your company?

Trexquant Investment interview question

What is deep copy in Python?

Interview Answer

Anonymous

Dec 14, 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.