Apple interview question

Star format . . .