Gridlogic interview question

Explain the Python memory management process