Capgemini interview question

mostly technical to iOS , Swift basics