Maximum Tracking Stack - Coding problem | OneNoughtOne