Add Up Only the Peaks — medium Applications of Derivatives problem | Incognition