      "        super(MyStack, self).__init__(top)\n",
      "\n",
      "    def min(self):\n",
      "        if self.min_vals.top is None:\n",
      "            return sys.maxint\n",
      "        else:\n",
      "            return self.min_vals.peek()\n",
      "\n",
      "    def push(self, data):\n",
      "        super(MyStack, self).push(data)\n",
 
</s> remove     "        assert_equal(stack.min(), sys.maxint)\n",
 </s> add     "        assert_equal(stack.min(), sys.maxsize)\n", </s> remove     "        assert_equal(stack.min(), sys.maxint)\n",
 </s> add     "        assert_equal(stack.min(), sys.maxsize)\n", </s> remove     "* If we call this function on an empty stack, can we return max int?\n",
 </s> add     "* If we call this function on an empty stack, can we return sys.maxsize?\n", </s> remove     "* If we call this function on an empty stack, can we return max int?\n",
 </s> add     "* If we call this function on an empty stack, can we return maxsize?\n", </s> remove         assert_equal(stack.min(), sys.maxint)
 </s> add         assert_equal(stack.min(), sys.maxsize)
    "            return sys.maxsize\n",
      "        super(MyStack, self).__init__(top)\n",
      "\n",
      "    def min(self):\n",
      "        if self.min_vals.top is None:\n",
    "            return sys.maxsize\n",
      "        else:\n",
      "            return self.min_vals.peek()\n",
      "\n",
      "    def push(self, data):\n",
      "        super(MyStack, self).push(data)\n",
keep keep keep keep replace keep keep keep keep keep
 Changed sys.maxint to sys.maxsize for Python 3 compatibility. 
stacks_queues/stack_min/stack_min_solution.ipynb