Apple interview question

about how to build an adder