Synechron interview question

Swift, swift UI, iOS, Xcode