Python Solution for Teemo
\n\n    class Solution(object):\n        def findPoisonedDuration(self, timeSeries, duration):\n            ans = duration * len(timeSeries)\n            for i 
![alt text](https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSa-yd3K7uW2ocdpJ-7mA3kMyF-XLUjkVproRQxIzhrRzh_osOW)\n\n    class Solution(object):\n        def findPoisonedDuration(self, timeSeries, duration):\n            ans = duration * len(timeSeries)\n            for i in range(1,len(timeSeries)):\n                ans -= max(0, duration - (timeSeries[i] - timeSeries[i-1]))\n            return ans\n\n![alt text](https://www.baronsteal.net/images/champion/loading/Ashe_4.jpg)
[]