SEI Novus interview question

Reading code and finding optimizations.