The deepcopy function iterate through each entry of the map, shouldn’t it be O(n) time?
Hey @Kofi!
I hope you’re doing great. Thanks for pointing this out. We have updated the lesson.
We hope Educative has inspired you to further your learning.
The deepcopy function iterate through each entry of the map, shouldn’t it be O(n) time?
Hey @Kofi!
I hope you’re doing great. Thanks for pointing this out. We have updated the lesson.
We hope Educative has inspired you to further your learning.