Moog Inc. interview question

technical