Luxoft interview question

Explain memory management in swift