Computing the running max · HackerTrans