Texas Instruments Interview Question

every thing was about the same in terms of difficulty.