    {
     "cell_type": "markdown",
     "metadata": {},
     "source": [
      "## Problem: Compress a string such that 'AAABCCDDDD' becomes 'A3B1C2D4'\n",
      "\n",
      "* [Constraints](#Constraints)\n",
      "* [Test Cases](#Test-Cases)\n",
      "* [Algorithm](#Algorithm)\n",
      "* [Code](#Code)\n",
 
</s>
    "## Problem: Compress a string such that 'AAABCCDDDD' becomes 'A3B1C2D4'.  Only compress the string if it saves space.\n",
    {
     "cell_type": "markdown",
     "metadata": {},
     "source": [
    "## Problem: Compress a string such that 'AAABCCDDDD' becomes 'A3B1C2D4'.  Only compress the string if it saves space.\n",
      "\n",
      "* [Constraints](#Constraints)\n",
      "* [Test Cases](#Test-Cases)\n",
      "* [Algorithm](#Algorithm)\n",
      "* [Code](#Code)\n",
keep keep keep keep replace keep keep keep keep keep
 Tweaked compress challenge to make it more explicit that you should only compress a string if it saves space.  Fixes #2.
arrays_strings/compress/compress_solution.ipynb