Google Interview Question

Review x code that determine the high water mark. How would you improve the code