@@ -0,0 +1,494 @@
+# Time:  O(n)%0A# Space: O(n)%0A%0Aclass Solution(object):%0A    def dailyTemperatures(self, temperatures):%0A        %22%22%22%0A        :type temperatures: List%5Bint%5D%0A        :rtype: List%5Bint%5D%0A        %22%22%22%0A        result = %5B0%5D * len(temperatures)%0A        stk = %5B%5D%0A        for i in xrange(len(temperatures)):%0A            while stk and %5C%0A                  temperatures%5Bstk%5B-1%5D%5D %3C temperatures%5Bi%5D:%0A                idx = stk.pop()%0A                result%5Bidx%5D = i-idx%0A            stk.append(i)%0A        return result %0A

Create daily-temperatures.py