Cognizant interview question

Swift fundamentals, memory management, concurrency