GE interview question

everything was just basics