Arm interview question

Design and optimization