HCLTech Interview Question

Basic swift, core data, API call