mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
Code cleanup.
This commit is contained in:
parent
631519cdfe
commit
d72cd4fe2c
|
@ -101,12 +101,10 @@
|
||||||
"source": [
|
"source": [
|
||||||
"print('Empty input')\n",
|
"print('Empty input')\n",
|
||||||
"data = []\n",
|
"data = []\n",
|
||||||
"#quick_sort(data)\n",
|
"print(quick_sort(data))\n",
|
||||||
"print(data)\n",
|
|
||||||
"print('One element')\n",
|
"print('One element')\n",
|
||||||
"data = [5]\n",
|
"data = [5]\n",
|
||||||
"#quick_sort(data)\n",
|
"print(quick_sort(data))\n",
|
||||||
"print(data)\n",
|
|
||||||
"print('Two or more elements')\n",
|
"print('Two or more elements')\n",
|
||||||
"data = [5, 1, 7, 2, 6, -3, 5, 7, -1]\n",
|
"data = [5, 1, 7, 2, 6, -3, 5, 7, -1]\n",
|
||||||
"print(quick_sort(data))"
|
"print(quick_sort(data))"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user